Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6651, allocations: 140.4 MB / 0.9496 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003786/0.6689, allocations: 2.092 MB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.6718, allocations: 2.557 MB / 0.9541 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.672, allocations: 3 kB / 0.9541 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.6735, allocations: 0.5001 MB / 0.9546 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.6738, allocations: 116.4 kB / 0.9547 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.6745, allocations: 234.4 kB / 0.955 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.6749, allocations: 355 kB / 0.9553 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.6751, allocations: 77.23 kB / 0.9554 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.6753, allocations: 112.6 kB / 0.9555 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.6756, allocations: 140 kB / 0.9556 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.6756, allocations: 7.344 kB / 0.9556 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.6758, allocations: 66.12 kB / 0.9557 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.676, allocations: 128 kB / 0.9558 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.6761, allocations: 219.1 kB / 0.956 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.6767, allocations: 0.6661 MB / 0.9567 GB, free: 4 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6767, allocations: 0 / 0.9567 GB, free: 4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6767, allocations: 0 / 0.9567 GB, free: 4 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.6767, allocations: 0 / 0.9567 GB, free: 4 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001054/0.6778, allocations: 0.8724 MB / 0.9575 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.6778, allocations: 13.62 kB / 0.9575 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.6779, allocations: 66.34 kB / 0.9576 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.6783, allocations: 431.9 kB / 0.958 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.6784, allocations: 6.406 kB / 0.958 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.6784, allocations: 3.656 kB / 0.958 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.6786, allocations: 101.6 kB / 0.9581 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6786, allocations: 1.094 kB / 0.9581 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6786, allocations: 0 / 0.9581 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6786, allocations: 10.31 kB / 0.9581 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.6788, allocations: 42.06 kB / 0.9582 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.6795, allocations: 0.5184 MB / 0.9587 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.6799, allocations: 94.69 kB / 0.9588 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.6799, allocations: 36.5 kB / 0.9588 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.68, allocations: 9.156 kB / 0.9588 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.6801, allocations: 85.88 kB / 0.9589 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.6801, allocations: 0.8125 kB / 0.9589 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004093/0.6806, allocations: 187.8 kB / 0.9591 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.6806, allocations: 111.8 kB / 0.9592 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/0.6816, allocations: 0.8837 MB / 0.96 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6816, allocations: 36.09 kB / 0.9601 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.6818, allocations: 300.4 kB / 0.9604 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.6819, allocations: 18.33 kB / 0.9604 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.6819, allocations: 26.98 kB / 0.9604 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.569e-05/0.6819, allocations: 307.1 kB / 0.9607 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.682, allocations: 26.42 kB / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.6821, allocations: 85.45 kB / 0.9608 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.6823, allocations: 69.59 kB / 0.9609 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.6823, allocations: 1.281 kB / 0.9609 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002577/0.6825, allocations: 167.3 kB / 0.961 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6826, allocations: 4.531 kB / 0.961 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6826, allocations: 1.375 kB / 0.961 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6826, allocations: 4.031 kB / 0.961 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.6827, allocations: 11.66 kB / 0.961 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.6827, allocations: 5.031 kB / 0.9611 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.6828, allocations: 20.27 kB / 0.9611 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.6829, allocations: 2.344 kB / 0.9611 GB, free: 0.4922 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002724/0.6831, allocations: 314.3 kB / 0.9614 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.6832, allocations: 65.28 kB / 0.9614 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.6833, allocations: 76.73 kB / 0.9615 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6833, allocations: 1.094 kB / 0.9615 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6833, allocations: 8.938 kB / 0.9615 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6833, allocations: 0 / 0.9615 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.6837, allocations: 385.4 kB / 0.9619 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6837, allocations: 1.625 kB / 0.9619 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.6838, allocations: 8.969 kB / 0.9619 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6838, allocations: 5.125 kB / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.6838, allocations: 1.125 kB / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6838, allocations: 1.125 kB / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6838, allocations: 3.938 kB / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.6841, allocations: 194.4 kB / 0.9621 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.6843, allocations: 135.5 kB / 0.9622 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.6843, allocations: 1.188 kB / 0.9622 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.6845, allocations: 3.688 kB / 0.9622 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.6845, allocations: 15.61 kB / 0.9622 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.6846, allocations: 2.656 kB / 0.9622 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008415/0.6854, allocations: 0.6585 MB / 0.9629 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6854, allocations: 0 / 0.9629 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003169/0.6858, allocations: 61.84 kB / 0.9629 GB, free: 15.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.6868, allocations: 430.5 kB / 0.9634 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.6871, allocations: 78.27 kB / 0.9634 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6871, allocations: 0 / 0.9634 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.6872, allocations: 33.89 kB / 0.9635 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.6879, allocations: 145.6 kB / 0.9636 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.6895, allocations: 1.104 MB / 0.9647 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/0.6901, allocations: 0.9878 MB / 0.9656 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.6903, allocations: 39.91 kB / 0.9657 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.6903, allocations: 26.08 kB / 0.9657 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.6903, allocations: 0 / 0.9657 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of Templates: time 0.01156/0.7019, allocations: 5.684 MB / 0.9713 GB, free: 10.59 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches