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.005651/0.005651, allocations: 102 kB / 15.73 MB, free: 6.051 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.001283/0.001283, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.216/2.216, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.9509 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7657, allocations: 140.4 MB / 1.088 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003372/0.7691, allocations: 2.102 MB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003092/0.7722, allocations: 2.546 MB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.7724, allocations: 6 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.774, allocations: 0.4924 MB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.7743, allocations: 118.6 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.7751, allocations: 240.1 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.7756, allocations: 359.2 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.7758, allocations: 60.06 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.776, allocations: 130 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.7762, allocations: 135.4 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.7762, allocations: 15.88 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.7764, allocations: 63.84 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.7766, allocations: 131.9 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.7768, allocations: 215.4 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.7777, allocations: 0.6717 MB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7777, allocations: 0.7969 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7777, allocations: 0.75 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.7777, allocations: 0 / 1.095 GB, free: 1.059 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.001179/0.7789, allocations: 0.8819 MB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.779, allocations: 14.41 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.7791, allocations: 62.31 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.7796, allocations: 437 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.7796, allocations: 7.547 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.7797, allocations: 2.969 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.7799, allocations: 103.9 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.7799, allocations: 4 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.78, allocations: 0.875 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.78, allocations: 1.828 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.7801, allocations: 42.19 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.7809, allocations: 0.514 MB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.7814, allocations: 102.4 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.7815, allocations: 37.06 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.7815, allocations: 0.9375 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.7817, allocations: 82.12 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.7817, allocations: 5.031 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004535/0.7821, allocations: 190.8 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.7822, allocations: 107.8 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.7834, allocations: 0.8921 MB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.7834, allocations: 26.8 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.7837, allocations: 297.8 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.7838, allocations: 20.08 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.7838, allocations: 28.61 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.784, allocations: 308.7 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.7841, allocations: 26.36 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.7842, allocations: 81.08 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.7844, allocations: 67.22 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7844, allocations: 0 / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003135/0.7848, allocations: 169.5 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7848, allocations: 4.562 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7848, allocations: 2.375 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7848, allocations: 4.719 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.7849, allocations: 18.97 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7849, allocations: 0 / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.7851, allocations: 14.05 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.7851, allocations: 2.062 kB / 1.099 GB, free: 13.98 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.0003376/0.7854, allocations: 318.4 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.7855, allocations: 69.81 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.7857, allocations: 78.3 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7857, allocations: 13.62 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7857, allocations: 1.062 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7857, allocations: 0.6094 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.7862, allocations: 379 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.7862, allocations: 4.656 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.7863, allocations: 7.719 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7863, allocations: 0.6562 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.7863, allocations: 1.781 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.7863, allocations: 5.422 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7863, allocations: 0 / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.7866, allocations: 198.5 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7868, allocations: 129.3 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.7868, allocations: 5.906 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.7869, allocations: 9 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.787, allocations: 11.14 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.7871, allocations: 5.125 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000963/0.788, allocations: 0.6517 MB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.31e-07/0.788, allocations: 1 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003539/0.7884, allocations: 62.48 kB / 1.101 GB, free: 12.93 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.00105/0.7894, allocations: 435.7 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.7897, allocations: 71.22 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7897, allocations: 0 / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.7899, allocations: 39.47 kB / 1.102 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/0.7906, allocations: 142.6 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.7925, allocations: 1.102 MB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.7932, allocations: 0.9744 MB / 1.104 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.7934, allocations: 41.86 kB / 1.104 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.7935, allocations: 27.47 kB / 1.104 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/0.7935, allocations: 0.9375 kB / 1.104 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.01415/0.8076, allocations: 5.7 MB / 1.11 GB, free: 10.94 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/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