Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00174/0.001741, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.131/3.131, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 11.06 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4324, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001392/0.4338, allocations: 0.951 MB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4357, allocations: 1.177 MB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.4358, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.4358, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006/0.4364, allocations: 167.6 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.4365, allocations: 29.45 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.4366, allocations: 11.94 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.4367, allocations: 3.984 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.4367, allocations: 4 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03845/0.4752, allocations: 26.63 MB / 1.086 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.4752, allocations: 4 kB / 1.086 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.4753, allocations: 0 / 1.086 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.4753, allocations: 11.94 kB / 1.086 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.4753, allocations: 25.7 kB / 1.086 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.015e-05/0.4754, allocations: 4 kB / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4754, allocations: 0 / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4754, allocations: 0 / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.4754, allocations: 0 / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003526/0.4758, allocations: 319.3 kB / 1.087 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.4759, allocations: 8.562 kB / 1.087 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.4759, allocations: 83.28 kB / 1.087 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.4761, allocations: 250.2 kB / 1.087 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/0.4762, allocations: 150.6 kB / 1.087 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.4763, allocations: 150.6 kB / 1.087 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.207e-05/0.4764, allocations: 101 kB / 1.087 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.4764, allocations: 75.28 kB / 1.087 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-05/0.4765, allocations: 166.5 kB / 1.088 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/0.4766, allocations: 150.6 kB / 1.088 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/0.4767, allocations: 150.6 kB / 1.088 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.477, allocations: 442 kB / 1.088 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4771, allocations: 181 kB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.4772, allocations: 84.08 kB / 1.089 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.4772, allocations: 75.28 kB / 1.089 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/0.4773, allocations: 113.8 kB / 1.089 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.305e-06/0.4773, allocations: 7.922 kB / 1.089 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.993e-05/0.4774, allocations: 29.7 kB / 1.089 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.4775, allocations: 207.8 kB / 1.089 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4777, allocations: 97.86 kB / 1.089 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.4777, allocations: 25.7 kB / 1.089 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.4778, allocations: 84.12 kB / 1.089 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.4778, allocations: 0 / 1.089 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/0.4778, allocations: 0 / 1.089 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4779, allocations: 314.8 kB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.4779, allocations: 0 / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.478, allocations: 26.52 kB / 1.09 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.478, allocations: 75.28 kB / 1.09 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.764e-05/0.4781, allocations: 75.28 kB / 1.09 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.639e-05/0.4782, allocations: 37.66 kB / 1.09 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.4782, allocations: 83.27 kB / 1.09 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-05/0.4783, allocations: 79.22 kB / 1.09 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.435e-05/0.4783, allocations: 158.6 kB / 1.09 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.964e-05/0.4784, allocations: 75.28 kB / 1.09 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.759e-05/0.4785, allocations: 154.5 kB / 1.09 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.4786, allocations: 79.28 kB / 1.09 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.4787, allocations: 83.27 kB / 1.09 GB, free: 3.922 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.4789, allocations: 272.4 kB / 1.091 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.4789, allocations: 104.9 kB / 1.091 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.479, allocations: 108 kB / 1.091 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.156e-05/0.4791, allocations: 180.3 kB / 1.091 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/0.4792, allocations: 180.2 kB / 1.091 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.349e-05/0.4792, allocations: 184.2 kB / 1.091 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.4795, allocations: 401.2 kB / 1.092 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.895e-05/0.4795, allocations: 108.9 kB / 1.092 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.4796, allocations: 101 kB / 1.092 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-05/0.4797, allocations: 184.5 kB / 1.092 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.691e-05/0.4798, allocations: 184.2 kB / 1.092 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.468e-05/0.4799, allocations: 180.3 kB / 1.092 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.692e-05/0.4799, allocations: 188.2 kB / 1.093 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.4801, allocations: 303.7 kB / 1.093 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.4802, allocations: 186 kB / 1.093 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.4804, allocations: 192.1 kB / 1.093 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.4805, allocations: 116.9 kB / 1.093 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/0.4806, allocations: 184.2 kB / 1.094 GB, free: 432 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.4807, allocations: 101 kB / 1.094 GB, free: 324 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.4807, allocations: 83.27 kB / 1.094 GB, free: 240 kB / 0.8419 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4807, allocations: 3.938 kB / 1.094 GB, free: 236 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002932/0.481, allocations: 4 kB / 1.094 GB, free: 232 kB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.4812, allocations: 178.5 kB / 1.094 GB, free: 40 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.07e-05/0.4813, allocations: 0 / 1.094 GB, free: 40 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4813, allocations: 4 kB / 1.094 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.4813, allocations: 0 / 1.094 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.4817, allocations: 0.5185 MB / 1.094 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.482, allocations: 168 kB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4823, allocations: 0.677 MB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.958e-05/0.4824, allocations: 4 kB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.4824, allocations: 7.438 kB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.4824, allocations: 0 / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of Templates: time 0.002965/0.4853, allocations: 457.4 kB / 1.096 GB, free: 14.17 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches