Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 119 kB / 16.42 MB, free: 6.473 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.001163/0.001163, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 68.11 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8195, allocations: 157.4 MB / 1.208 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage): time 0.004566/0.8241, allocations: 2.409 MB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.8267, allocations: 1.235 MB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.827, allocations: 11.94 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.8275, allocations: 103.2 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.828, allocations: 119.2 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.8289, allocations: 331.3 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009897/0.8299, allocations: 0.7257 MB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.8306, allocations: 462.8 kB / 1.214 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.8309, allocations: 251.2 kB / 1.214 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.8313, allocations: 282.8 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.373e-05/0.8314, allocations: 68 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.8316, allocations: 112 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.8317, allocations: 155.5 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.832, allocations: 270.6 kB / 1.215 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008203/0.8328, allocations: 0.7766 MB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.8328, allocations: 4 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.165e-06/0.8329, allocations: 0 / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.8329, allocations: 0 / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001489/0.8344, allocations: 0.8351 MB / 1.216 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.8344, allocations: 8.031 kB / 1.216 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.8345, allocations: 68.19 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.8351, allocations: 392.2 kB / 1.217 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.8351, allocations: 37.38 kB / 1.217 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.8352, allocations: 60.11 kB / 1.217 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.8362, allocations: 0.5254 MB / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.8363, allocations: 0 / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.8363, allocations: 20 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.8363, allocations: 12 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009783/0.8373, allocations: 443.7 kB / 1.218 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.8396, allocations: 1.426 MB / 1.219 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.8406, allocations: 470.5 kB / 1.22 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.8411, allocations: 222.1 kB / 1.22 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.8411, allocations: 4.438 kB / 1.22 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/0.8417, allocations: 302.9 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=58): time 2.054e-06/0.8417, allocations: 0 / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58): time 0.001491/0.8432, allocations: 0.5922 MB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.8433, allocations: 63.95 kB / 1.221 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.8437, allocations: 358.5 kB / 1.221 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.616e-05/0.8438, allocations: 57.69 kB / 1.221 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.8439, allocations: 221.2 kB / 1.221 GB, free: 284 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.844, allocations: 142 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.8443, allocations: 146.3 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8444, allocations: 354.7 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.8449, allocations: 189.2 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.8454, allocations: 273.9 kB / 1.222 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.8462, allocations: 405.2 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8462, allocations: 0 / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001129/0.8473, allocations: 0.5726 MB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.8474, allocations: 33.7 kB / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8474, allocations: 0 / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.8474, allocations: 4 kB / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.8477, allocations: 75.83 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.8478, allocations: 4 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.8482, allocations: 83.62 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.8482, allocations: 31.86 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,speSig.count,$PRE.speSig.count,speSig.T_start,$PRE.speSig.T_start,varSpePumSta.addInt.y,varSpePumSta.booToInt1.y,varSpePumSta.booToInt.y,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.con4.t_start,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.fire,varSpePumSta.con4.enableFire,varSpePumSta.con4.localCondition,varSpePumSta.con3.t_start,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.fire,varSpePumSta.con3.enableFire,varSpePumSta.con3.localCondition,varSpePumSta.con2.t_start,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.fire,varSpePumSta.con2.enableFire,varSpePumSta.con2.localCondition,varSpePumSta.twoOn.active,varSpePumSta.twoOn.oldActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.off.oldActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.active,varSpePumSta.oneOn.active,varSpePumSta.oneOn.oldActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.localActive,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.con1.t_start,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.fire,varSpePumSta.con1.enableFire,varSpePumSta.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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.0002732/0.8485, allocations: 237.6 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.8486, allocations: 39.53 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.8497, allocations: 0.5187 MB / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.8497, allocations: 3.984 kB / 1.224 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8497, allocations: 0 / 1.224 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.8498, allocations: 116.5 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.8499, allocations: 19.94 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.8502, allocations: 51.94 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.8504, allocations: 80.45 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001253/0.8517, allocations: 0.5963 MB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000998/0.8527, allocations: 0.6546 MB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004466/0.8532, allocations: 252.4 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002212/0.8534, allocations: 225.9 kB / 1.226 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of Backend: time 1.843e-06/0.8534, allocations: 0 / 1.226 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.8554, allocations: 0.7736 MB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001412/0.8568, allocations: 1.162 MB / 1.228 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of Templates: time 0.01326/0.8701, allocations: 6.847 MB / 1.235 GB, free: 2.445 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches