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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001184/0.001184, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001173/0.001173, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.615/2.615, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.83/0.8313, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage): time 0.00384/0.8352, allocations: 2.399 MB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.8373, allocations: 1.235 MB / 1.23 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.8376, allocations: 8 kB / 1.23 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.838, allocations: 115.1 kB / 1.23 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.8383, allocations: 115.3 kB / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.839, allocations: 330.4 kB / 1.23 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000661/0.8397, allocations: 0.7256 MB / 1.231 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.8402, allocations: 462.8 kB / 1.232 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.8405, allocations: 251.2 kB / 1.232 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.8408, allocations: 290.7 kB / 1.232 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.8409, allocations: 72 kB / 1.232 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.8411, allocations: 104 kB / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.8413, allocations: 159.5 kB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.8415, allocations: 278.6 kB / 1.233 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.8422, allocations: 0.775 MB / 1.233 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8422, allocations: 0 / 1.233 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8422, allocations: 0 / 1.233 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.8422, allocations: 3.938 kB / 1.233 GB, free: 6.195 MB / 0.9512 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.00131/0.8435, allocations: 0.8617 MB / 1.234 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.8436, allocations: 11.98 kB / 1.234 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.8437, allocations: 60.56 kB / 1.234 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.8442, allocations: 392.4 kB / 1.235 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.8442, allocations: 41.38 kB / 1.235 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.8443, allocations: 60.12 kB / 1.235 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000902/0.8452, allocations: 0.5215 MB / 1.235 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.8452, allocations: 0 / 1.235 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.8453, allocations: 16 kB / 1.235 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.8453, allocations: 12 kB / 1.235 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008925/0.8462, allocations: 447.7 kB / 1.236 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.8482, allocations: 1.422 MB / 1.237 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.8491, allocations: 470.9 kB / 1.238 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.8495, allocations: 230 kB / 1.238 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.8496, allocations: 8.438 kB / 1.238 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.8501, allocations: 290.9 kB / 1.238 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=58): time 2.074e-06/0.8501, allocations: 0 / 1.238 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58): time 0.001249/0.8514, allocations: 0.6002 MB / 1.239 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.8514, allocations: 67.95 kB / 1.239 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.8517, allocations: 354.8 kB / 1.239 GB, free: 172 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.8518, allocations: 49.7 kB / 1.239 GB, free: 116 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.852, allocations: 221.6 kB / 1.239 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.8521, allocations: 146.8 kB / 1.239 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.8523, allocations: 146.3 kB / 1.24 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8524, allocations: 358.7 kB / 1.24 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.8528, allocations: 185.2 kB / 1.24 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.8533, allocations: 274 kB / 1.24 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.854, allocations: 409.1 kB / 1.241 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.854, allocations: 4 kB / 1.241 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001052/0.8551, allocations: 0.5726 MB / 1.241 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.8551, allocations: 37.69 kB / 1.241 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8551, allocations: 224 / 1.241 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8552, allocations: 12 kB / 1.241 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.8555, allocations: 75.83 kB / 1.241 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.8555, allocations: 4 kB / 1.241 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.8559, allocations: 75.61 kB / 1.242 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.8559, allocations: 23.94 kB / 1.242 GB, free: 13.52 MB / 0.9669 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.0002524/0.8562, allocations: 245.6 kB / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.8563, allocations: 43.72 kB / 1.242 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.8573, allocations: 0.5226 MB / 1.242 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8573, allocations: 0 / 1.242 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8573, allocations: 8 kB / 1.242 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.8574, allocations: 120.7 kB / 1.242 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.8575, allocations: 23.88 kB / 1.243 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.8578, allocations: 43.94 kB / 1.243 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.858, allocations: 76.47 kB / 1.243 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001172/0.8591, allocations: 0.608 MB / 1.243 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009333/0.8601, allocations: 0.6471 MB / 1.244 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004641/0.8606, allocations: 260.4 kB / 1.244 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002048/0.8608, allocations: 225.9 kB / 1.244 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of Backend: time 6.51e-07/0.8608, allocations: 0 / 1.244 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.8626, allocations: 0.7524 MB / 1.245 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001316/0.864, allocations: 1.188 MB / 1.246 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of Templates: time 0.0125/0.8765, allocations: 6.856 MB / 1.253 GB, free: 2.004 MB / 0.9669 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