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 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.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.001072/0.001072, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001003/0.001003, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.513/2.513, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 55.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6836/0.6849, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.003723/0.6886, allocations: 2.67 MB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.6908, allocations: 1.446 MB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.691, allocations: 7.938 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.6914, allocations: 127.2 kB / 1.213 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.6917, allocations: 127.2 kB / 1.213 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.6922, allocations: 279.3 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.6927, allocations: 0.5037 MB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.6931, allocations: 221.1 kB / 1.214 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.6933, allocations: 199.2 kB / 1.214 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.6935, allocations: 199 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.6936, allocations: 51.94 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.6938, allocations: 99.97 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.6939, allocations: 123.6 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.6941, allocations: 210.8 kB / 1.215 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006097/0.6947, allocations: 0.6675 MB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6947, allocations: 4 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6947, allocations: 0 / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.6947, allocations: 0 / 1.215 GB, free: 6.82 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001174/0.6959, allocations: 0.7642 MB / 1.216 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.696, allocations: 12.03 kB / 1.216 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.275e-05/0.6961, allocations: 48.38 kB / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.6966, allocations: 406.8 kB / 1.216 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.6966, allocations: 24.94 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.6967, allocations: 27.94 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.6973, allocations: 319.7 kB / 1.217 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6973, allocations: 4 kB / 1.217 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.6973, allocations: 12 kB / 1.217 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6974, allocations: 8 kB / 1.217 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.6979, allocations: 234.1 kB / 1.217 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.6995, allocations: 1.13 MB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/0.7001, allocations: 348.1 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.7004, allocations: 124.8 kB / 1.219 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.7005, allocations: 7.938 kB / 1.219 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.7008, allocations: 143.3 kB / 1.219 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.7008, allocations: 4 kB / 1.219 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0007384/0.7015, allocations: 322.9 kB / 1.219 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.7016, allocations: 81.11 kB / 1.219 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.7021, allocations: 465.5 kB / 1.219 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.7021, allocations: 33.7 kB / 1.22 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.7023, allocations: 236.1 kB / 1.22 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.7024, allocations: 74.95 kB / 1.22 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.7025, allocations: 70.02 kB / 1.22 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7026, allocations: 350.8 kB / 1.22 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.7028, allocations: 118.1 kB / 1.22 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.7031, allocations: 189.2 kB / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.7036, allocations: 267.5 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7036, allocations: 3.938 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006607/0.7043, allocations: 375.1 kB / 1.221 GB, free: 400 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7043, allocations: 8 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7043, allocations: 0 / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.7043, allocations: 7.938 kB / 1.221 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.7046, allocations: 75.89 kB / 1.221 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.7047, allocations: 3.938 kB / 1.221 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.7049, allocations: 35.73 kB / 1.221 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.7049, allocations: 11.98 kB / 1.221 GB, free: 256 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003037/0.7052, allocations: 240.8 kB / 1.221 GB, free: 12 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002485/0.7055, allocations: 168 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000374/0.7059, allocations: 250 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.7059, allocations: 0 / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005614/0.7064, allocations: 357 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.7064, allocations: 8 kB / 1.222 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.7065, allocations: 3.938 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.7065, allocations: 4 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.7067, allocations: 67.91 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.7067, allocations: 0 / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.7069, allocations: 35.72 kB / 1.222 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.707, allocations: 16 kB / 1.222 GB, free: 15.06 MB / 0.9512 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.0001221/0.7071, allocations: 202.9 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.7071, allocations: 47.41 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.7077, allocations: 271.1 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.7077, allocations: 3.984 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7078, allocations: 0 / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.7078, allocations: 116.6 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.7079, allocations: 11.98 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.7081, allocations: 15.98 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.7081, allocations: 7.984 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006515/0.7088, allocations: 336.5 kB / 1.223 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008047/0.7096, allocations: 0.5473 MB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002148/0.7098, allocations: 95.97 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003093/0.7101, allocations: 303.1 kB / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of Backend: time 8.22e-07/0.7101, allocations: 4.062 kB / 1.224 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00195/0.7121, allocations: 0.7861 MB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001267/0.7134, allocations: 1.12 MB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.009737/0.7231, allocations: 5.796 MB / 1.232 GB, free: 5.605 MB / 0.9512 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