Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001164/0.001164, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0123/0.0123, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.741/1.741, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.156/3.156, allocations: 470.6 MB / 0.7442 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 13.34 kB / 0.9123 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4136, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.005828/0.4195, allocations: 2.327 MB / 1.072 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004455/0.424, allocations: 1.395 MB / 1.074 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.4246, allocations: 8 kB / 1.074 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.4254, allocations: 107.4 kB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007127/0.4261, allocations: 107.5 kB / 1.074 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.4274, allocations: 232.5 kB / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.4286, allocations: 467.8 kB / 1.074 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006692/0.4293, allocations: 201.2 kB / 1.075 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.4298, allocations: 151.1 kB / 1.075 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.4303, allocations: 155 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-05/0.4304, allocations: 12 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.4307, allocations: 63.97 kB / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.4309, allocations: 75.61 kB / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.4312, allocations: 192.5 kB / 1.075 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.4322, allocations: 0.6113 MB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4323, allocations: 0 / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4323, allocations: 0 / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.573e-05/0.4323, allocations: 0 / 1.076 GB, free: 5.297 MB / 0.8262 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.002145/0.4345, allocations: 0.6944 MB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.4345, allocations: 8.031 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.4348, allocations: 52.28 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.4358, allocations: 410.8 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.4359, allocations: 24.94 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.4361, allocations: 27.94 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4372, allocations: 327.7 kB / 1.077 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4372, allocations: 4 kB / 1.077 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.4373, allocations: 16 kB / 1.077 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4373, allocations: 4 kB / 1.077 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/0.4383, allocations: 242.1 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.4412, allocations: 1.145 MB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.4425, allocations: 365.4 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.4431, allocations: 136.8 kB / 1.079 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.4432, allocations: 7.938 kB / 1.079 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005759/0.4438, allocations: 151.3 kB / 1.079 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 3.737e-06/0.4438, allocations: 0 / 1.079 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.00146/0.4452, allocations: 355 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/0.4454, allocations: 77.11 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4465, allocations: 465.5 kB / 1.08 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.4466, allocations: 29.7 kB / 1.08 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.4469, allocations: 232.1 kB / 1.08 GB, free: 356 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.4472, allocations: 71 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4473, allocations: 41.7 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003057/0.4476, allocations: 350.8 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.4482, allocations: 116.6 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.4488, allocations: 197.2 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009705/0.4497, allocations: 279.5 kB / 1.081 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.4498, allocations: 4 kB / 1.081 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001386/0.4512, allocations: 391 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.4514, allocations: 138.1 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4514, allocations: 4 kB / 1.082 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.4515, allocations: 4 kB / 1.082 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.452, allocations: 75.83 kB / 1.082 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.452, allocations: 4 kB / 1.082 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.4524, allocations: 43.67 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.4525, allocations: 15.98 kB / 1.082 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.4525, allocations: 8 kB / 1.082 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008509/0.4534, allocations: 291.7 kB / 1.082 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4534, allocations: 0 / 1.082 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.4534, allocations: 4 kB / 1.082 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.4538, allocations: 71.84 kB / 1.082 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4538, allocations: 8.188 kB / 1.082 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.4542, allocations: 35.67 kB / 1.082 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.4542, allocations: 16 kB / 1.083 GB, free: 14.12 MB / 0.8419 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.0004246/0.4547, allocations: 253 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4548, allocations: 35.53 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.4559, allocations: 283.5 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4559, allocations: 0 / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4559, allocations: 7.938 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.4559, allocations: 3.984 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.4578, allocations: 0.783 MB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4578, allocations: 0 / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.4581, allocations: 51.86 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4581, allocations: 0 / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.4582, allocations: 11.98 kB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4582, allocations: 0 / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4582, allocations: 0 / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.4596, allocations: 485.4 kB / 1.084 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.4598, allocations: 128.6 kB / 1.084 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.4599, allocations: 8 kB / 1.084 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.4601, allocations: 20.05 kB / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.4602, allocations: 15.98 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.4603, allocations: 11.92 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005607/0.4609, allocations: 303.1 kB / 1.085 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4609, allocations: 3.938 kB / 1.085 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008922/0.4618, allocations: 135.5 kB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (resDpLoc.ctlDpRem.I.y) * Number of discrete variables: 3 ($whenCondition1,ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled) * Number of discrete states: 2 (ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002332/0.4641, allocations: 425.1 kB / 1.085 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.4657, allocations: 420.9 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4658, allocations: 0 / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.4663, allocations: 111.9 kB / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.4673, allocations: 83.64 kB / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.4698, allocations: 0.8397 MB / 1.087 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007998/0.4706, allocations: 0.8113 MB / 1.088 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004637/0.4711, allocations: 63.22 kB / 1.088 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.4713, allocations: 27.44 kB / 1.088 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of SimCode: time 1.042e-06/0.4713, allocations: 0 / 1.088 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of Templates: time 0.01636/0.4876, allocations: 4.203 MB / 1.092 GB, free: 4.73 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches