Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.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.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dpRemSet.1..y|dpRemSet.2..y|dpRem.1..y|dpRem.2..y|ctlDpRem.y|ctlDpRem.y_min|ctlDpRem.y_max|y1Pum.y.1.|y1Pum.y.2.|dpLocSet.1..y|dpLocSet.2..y|dpLoc.y|ctlDpLoc.y|ctlDpLoc.y_min|ctlDpLoc.y_max",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dpRemSet.1..y|dpRemSet.2..y|dpRem.1..y|dpRem.2..y|ctlDpRem.y|ctlDpRem.y_min|ctlDpRem.y_max|y1Pum.y.1.|y1Pum.y.2.|dpLocSet.1..y|dpLocSet.2..y|dpLoc.y|ctlDpLoc.y|ctlDpLoc.y_min|ctlDpLoc.y_max",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 111.8 kB / 16.42 MB, free: 6.457 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.001848/0.001848, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6928, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure): time 0.006741/0.6996, allocations: 5.467 MB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004657/0.7043, allocations: 2.704 MB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.7053, allocations: 27.88 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.7062, allocations: 318 kB / 1.217 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007157/0.707, allocations: 242.6 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.7083, allocations: 0.5755 MB / 1.218 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.7102, allocations: 1.898 MB / 1.219 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.7118, allocations: 1.257 MB / 1.221 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008799/0.7126, allocations: 0.7086 MB / 1.221 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.7135, allocations: 0.6806 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.714, allocations: 196 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.7145, allocations: 259.9 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004528/0.7149, allocations: 0.5104 MB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007162/0.7156, allocations: 0.7735 MB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.7178, allocations: 2.696 MB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7178, allocations: 0 / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.317e-06/0.7178, allocations: 0 / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.487e-05/0.7178, allocations: 3.938 kB / 1.226 GB, free: 11.24 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003085/0.7209, allocations: 1.892 MB / 1.228 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.721, allocations: 8.031 kB / 1.228 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.7212, allocations: 159.1 kB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.723, allocations: 1.165 MB / 1.229 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/0.7231, allocations: 82.38 kB / 1.23 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.7233, allocations: 111.9 kB / 1.23 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.7255, allocations: 1.357 MB / 1.231 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.7255, allocations: 0 / 1.231 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.7256, allocations: 40 kB / 1.231 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.7256, allocations: 24 kB / 1.231 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.7276, allocations: 1.163 MB / 1.232 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/0.7332, allocations: 4.099 MB / 1.236 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.7354, allocations: 1.52 MB / 1.238 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009111/0.7363, allocations: 0.575 MB / 1.238 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.7364, allocations: 16.47 kB / 1.238 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009707/0.7374, allocations: 0.5864 MB / 1.239 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/0.7374, allocations: 0 / 1.239 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.002571/0.74, allocations: 1.402 MB / 1.24 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.7401, allocations: 153.2 kB / 1.24 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.7415, allocations: 1.219 MB / 1.241 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.7416, allocations: 45.7 kB / 1.242 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.7421, allocations: 0.5782 MB / 1.242 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.7423, allocations: 240.6 kB / 1.242 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.7426, allocations: 218.5 kB / 1.243 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7427, allocations: 337.9 kB / 1.243 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/0.7435, allocations: 448.5 kB / 1.243 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.7446, allocations: 0.8108 MB / 1.244 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.7461, allocations: 0.9346 MB / 1.245 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.7461, allocations: 4 kB / 1.245 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001964/0.7481, allocations: 1.163 MB / 1.246 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7481, allocations: 8 kB / 1.246 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7481, allocations: 8.312 kB / 1.246 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.7482, allocations: 8 kB / 1.246 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.7489, allocations: 175.8 kB / 1.246 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.7489, allocations: 7.938 kB / 1.246 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7499, allocations: 143.1 kB / 1.246 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.75, allocations: 32 kB / 1.246 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001049/0.751, allocations: 0.7985 MB / 1.247 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009061/0.7519, allocations: 0.7601 MB / 1.248 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001181/0.7531, allocations: 0.8571 MB / 1.249 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.7532, allocations: 4 kB / 1.249 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.001591/0.7548, allocations: 1.074 MB / 1.25 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.7548, allocations: 6.031 kB / 1.25 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7548, allocations: 4 kB / 1.25 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/0.7548, allocations: 8.375 kB / 1.25 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.7554, allocations: 159.7 kB / 1.25 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7554, allocations: 8 kB / 1.25 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.7567, allocations: 143.7 kB / 1.25 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.7568, allocations: 31.98 kB / 1.25 GB, free: 1.973 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.ratDp.tab.nextTimeEvent,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,ctlDpLoc.repEna.y[2],ctlDpLoc.y1_actual[1],ctlDpRem.repEna.y[2],y1Pum.intTimTab.idx,$PRE.y1Pum.intTimTab.idx,y1Pum.intTimTab.y[2],$PRE.y1Pum.intTimTab.y[2],y1Pum.intTimTab.y[1],$PRE.y1Pum.intTimTab.y[1],y1Pum.y[2],ratDp.tab.nextTimeEventScaled,$PRE.ratDp.tab.nextTimeEventScaled,ratDp.tab.nextTimeEvent,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0002427/0.7571, allocations: 242.3 kB / 1.25 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.7572, allocations: 102.7 kB / 1.251 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.7591, allocations: 1.094 MB / 1.252 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.7592, allocations: 3.984 kB / 1.252 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7592, allocations: 0 / 1.252 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.7594, allocations: 215.6 kB / 1.252 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.7595, allocations: 16 kB / 1.252 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.7599, allocations: 51.92 kB / 1.252 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.7601, allocations: 64.41 kB / 1.252 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002087/0.7622, allocations: 1.137 MB / 1.253 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002717/0.7649, allocations: 1.848 MB / 1.255 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007413/0.7656, allocations: 0.4891 MB / 1.255 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009802/0.7666, allocations: 0.8174 MB / 1.256 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of Backend: time 3.41e-07/0.7666, allocations: 3.938 kB / 1.256 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003271/0.7699, allocations: 1.573 MB / 1.258 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003622/0.7736, allocations: 2.74 MB / 1.26 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.0287/0.8023, allocations: 19.88 MB / 1.28 GB, free: 3.984 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ControlDifferentialPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches