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.001662/0.001662, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.363/2.363, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9648/0.9662, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003571/0.9699, allocations: 2.09 MB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003122/0.973, allocations: 2.557 MB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.9732, allocations: 1.719 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.9746, allocations: 0.4955 MB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.9749, allocations: 113.6 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.9757, allocations: 243 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.9762, allocations: 351.8 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.9764, allocations: 67.44 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.9766, allocations: 121.3 kB / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.9768, allocations: 139.7 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.9769, allocations: 8.031 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.9771, allocations: 72.48 kB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.9773, allocations: 122.8 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.9775, allocations: 223.9 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009452/0.9785, allocations: 0.6794 MB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9785, allocations: 3.938 kB / 1.096 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9785, allocations: 0.8125 kB / 1.096 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.9785, allocations: 0 / 1.096 GB, free: 1.102 MB / 0.8575 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.001233/0.9797, allocations: 0.8682 MB / 1.097 GB, free: 400 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.9798, allocations: 10.02 kB / 1.097 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.9799, allocations: 62.88 kB / 1.097 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.9804, allocations: 434 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.9804, allocations: 9.969 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.9804, allocations: 7.922 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.9807, allocations: 99.19 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9807, allocations: 8.672 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.9807, allocations: 1.281 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9807, allocations: 1.344 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.9809, allocations: 41.88 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.9819, allocations: 0.5219 MB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.9824, allocations: 102.1 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.9825, allocations: 32.75 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.9825, allocations: 1.453 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.9827, allocations: 94.86 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.9827, allocations: 0 / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004531/0.9832, allocations: 186.7 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.9832, allocations: 108.6 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.9845, allocations: 0.8875 MB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.9845, allocations: 27.67 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.9849, allocations: 296.3 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.985, allocations: 28.86 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.985, allocations: 28.66 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9852, allocations: 308.2 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.9852, allocations: 27.86 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.9854, allocations: 72.67 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.9856, allocations: 70.55 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.9856, allocations: 1.125 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002843/0.9859, allocations: 164.5 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.9859, allocations: 5.375 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9859, allocations: 0.75 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9859, allocations: 1.125 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.986, allocations: 22.06 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.986, allocations: 1.531 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.9862, allocations: 13.88 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.9862, allocations: 6.656 kB / 1.1 GB, free: 14.03 MB / 0.8731 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.0003871/0.9866, allocations: 316.3 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/0.9867, allocations: 66.22 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.9868, allocations: 75.16 kB / 1.101 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.9868, allocations: 9.031 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9868, allocations: 0 / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9869, allocations: 2.031 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.9874, allocations: 378.6 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9874, allocations: 5.25 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.9874, allocations: 10.92 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9874, allocations: 0.6094 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.9875, allocations: 1.75 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9875, allocations: 4.875 kB / 1.101 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9875, allocations: 1.625 kB / 1.101 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.9878, allocations: 198.2 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.988, allocations: 132.8 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.988, allocations: 9.938 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.9881, allocations: 9.734 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.9882, allocations: 10.09 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.9882, allocations: 4.688 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008981/0.9891, allocations: 0.6559 MB / 1.102 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9892, allocations: 1.25 kB / 1.102 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003313/0.9895, allocations: 54.16 kB / 1.102 GB, free: 12.98 MB / 0.8731 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.001092/0.9906, allocations: 437 kB / 1.102 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.9908, allocations: 70.78 kB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9909, allocations: 4.938 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.991, allocations: 34.03 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.9917, allocations: 147.1 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.9936, allocations: 1.145 MB / 1.104 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.9943, allocations: 0.979 MB / 1.105 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.9944, allocations: 24.3 kB / 1.105 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.9944, allocations: 4 kB / 1.105 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.01268/1.007, allocations: 6.707 MB / 1.111 GB, free: 10.52 MB / 0.8731 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/jenkins1/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