Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.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.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dpRemSet.y|dpRem.y|resDpLoc.dpLocSet|resDpLoc.dpLocSet_min|resDpLoc.dpLocSet_max",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dpRemSet.y|dpRem.y|resDpLoc.dpLocSet|resDpLoc.dpLocSet_min|resDpLoc.dpLocSet_max",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 109.2 kB / 16.41 MB, free: 6.465 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.001683/0.001683, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.618/2.618, allocations: 472.7 MB / 0.746 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 55.91 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.765/0.7664, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.003946/0.7703, allocations: 2.673 MB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.7729, allocations: 1.461 MB / 1.23 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.7733, allocations: 4 kB / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.7739, allocations: 123.2 kB / 1.23 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.7744, allocations: 135.2 kB / 1.231 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.775, allocations: 271.3 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.7757, allocations: 0.5038 MB / 1.231 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.7761, allocations: 210.7 kB / 1.232 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.7765, allocations: 215.1 kB / 1.232 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.7768, allocations: 207 kB / 1.232 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.7769, allocations: 48 kB / 1.232 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.7771, allocations: 91.97 kB / 1.232 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.7772, allocations: 111.7 kB / 1.232 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.7774, allocations: 218.7 kB / 1.232 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.7782, allocations: 0.6814 MB / 1.233 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7782, allocations: 0 / 1.233 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7783, allocations: 0 / 1.233 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.7783, allocations: 0 / 1.233 GB, free: 6.582 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001642/0.7799, allocations: 0.7794 MB / 1.234 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.78, allocations: 8.031 kB / 1.234 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.7801, allocations: 52.61 kB / 1.234 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.7807, allocations: 415.1 kB / 1.234 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.7808, allocations: 20.94 kB / 1.234 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.7808, allocations: 31.94 kB / 1.234 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.7815, allocations: 327.6 kB / 1.235 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.7815, allocations: 0 / 1.235 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.7815, allocations: 8 kB / 1.235 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.7816, allocations: 8 kB / 1.235 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.7821, allocations: 226.1 kB / 1.235 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.784, allocations: 1.13 MB / 1.236 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.7847, allocations: 345.2 kB / 1.236 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.785, allocations: 128.8 kB / 1.236 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.7851, allocations: 11.88 kB / 1.236 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.7854, allocations: 147.3 kB / 1.237 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.7855, allocations: 0 / 1.237 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22): time 0.000817/0.7863, allocations: 335.7 kB / 1.237 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.7863, allocations: 77.11 kB / 1.237 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.7869, allocations: 461.6 kB / 1.237 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.787, allocations: 33.7 kB / 1.237 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.7872, allocations: 228.5 kB / 1.238 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.21e-05/0.7873, allocations: 91.25 kB / 1.238 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.7874, allocations: 66.02 kB / 1.238 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7876, allocations: 350.8 kB / 1.238 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.7879, allocations: 118.1 kB / 1.238 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.7882, allocations: 189.1 kB / 1.238 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.7887, allocations: 268.1 kB / 1.239 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.7887, allocations: 4 kB / 1.239 GB, free: 500 kB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007407/0.7895, allocations: 379 kB / 1.239 GB, free: 116 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7895, allocations: 7.984 kB / 1.239 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.7895, allocations: 8 kB / 1.239 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.7895, allocations: 7.875 kB / 1.239 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.7898, allocations: 71.91 kB / 1.239 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.7899, allocations: 8.062 kB / 1.239 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.7901, allocations: 40 kB / 1.239 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.7902, allocations: 16 kB / 1.239 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003455/0.7905, allocations: 232.7 kB / 1.239 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002618/0.7908, allocations: 171.9 kB / 1.24 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004017/0.7912, allocations: 250 kB / 1.24 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.7912, allocations: 0 / 1.24 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006298/0.7919, allocations: 341.2 kB / 1.24 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7919, allocations: 13.7 kB / 1.24 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7919, allocations: 3.938 kB / 1.24 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.7919, allocations: 4 kB / 1.24 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.7922, allocations: 71.84 kB / 1.24 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.7922, allocations: 4 kB / 1.24 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.7924, allocations: 36.02 kB / 1.24 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.7924, allocations: 12 kB / 1.24 GB, free: 14.79 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.ratDp.tab.nextTimeEvent,$whenCondition1,resDpLoc.ctlDpRem.con1.y,ratDp.tab.nextTimeEventScaled,$PRE.ratDp.tab.nextTimeEventScaled,ratDp.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001549/0.7926, allocations: 200.7 kB / 1.241 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.7927, allocations: 43.69 kB / 1.241 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.7933, allocations: 275.2 kB / 1.241 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.7933, allocations: 4 kB / 1.241 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.7933, allocations: 3.938 kB / 1.241 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.7934, allocations: 128.7 kB / 1.241 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.7935, allocations: 8 kB / 1.241 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.7937, allocations: 15.98 kB / 1.241 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.7937, allocations: 15.98 kB / 1.241 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006922/0.7944, allocations: 332.7 kB / 1.241 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008727/0.7953, allocations: 0.5356 MB / 1.242 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002357/0.7956, allocations: 108.9 kB / 1.242 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003342/0.7959, allocations: 303.1 kB / 1.242 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of Backend: time 5.61e-07/0.7959, allocations: 0 / 1.242 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.798, allocations: 0.7786 MB / 1.243 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001482/0.7995, allocations: 1.143 MB / 1.244 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of Templates: time 0.0115/0.811, allocations: 5.794 MB / 1.25 GB, free: 5.297 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches