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.001307/0.001307, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001287/0.001287, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.44/2.44, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.61 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2906, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002493/0.2931, allocations: 1.233 MB / 1.028 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.2952, allocations: 1.254 MB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.2952, allocations: 0 / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.2953, allocations: 3.938 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008424/0.2961, allocations: 211.3 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.2963, allocations: 39.69 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.2963, allocations: 11.94 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2964, allocations: 4 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.2964, allocations: 11.92 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1859/0.4823, allocations: 30.9 MB / 1.06 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.4824, allocations: 0 / 1.06 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.4824, allocations: 0 / 1.06 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.4824, allocations: 4 kB / 1.06 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.4824, allocations: 11.97 kB / 1.06 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.684e-05/0.4825, allocations: 11.94 kB / 1.06 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4825, allocations: 0 / 1.06 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.562e-06/0.4826, allocations: 4 kB / 1.06 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.4826, allocations: 0 / 1.06 GB, free: 2.93 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00028/0.4829, allocations: 319.6 kB / 1.06 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4829, allocations: 12.03 kB / 1.06 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.483, allocations: 76.22 kB / 1.06 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4831, allocations: 243.6 kB / 1.06 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.4831, allocations: 154.9 kB / 1.06 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.4832, allocations: 154.9 kB / 1.061 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.169e-05/0.4833, allocations: 109.1 kB / 1.061 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.4833, allocations: 75.28 kB / 1.061 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.4833, allocations: 150.6 kB / 1.061 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.4834, allocations: 150.6 kB / 1.061 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.853e-05/0.4834, allocations: 158.6 kB / 1.061 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.4837, allocations: 453.9 kB / 1.062 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.4838, allocations: 169.1 kB / 1.062 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.4838, allocations: 80.14 kB / 1.062 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.4839, allocations: 75.33 kB / 1.062 GB, free: 448 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.4839, allocations: 117.8 kB / 1.062 GB, free: 320 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4839, allocations: 4 kB / 1.062 GB, free: 316 kB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.536e-05/0.484, allocations: 37.55 kB / 1.062 GB, free: 272 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.4841, allocations: 203.8 kB / 1.062 GB, free: 36 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4842, allocations: 105.8 kB / 1.062 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.4842, allocations: 29.7 kB / 1.062 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.4842, allocations: 80.14 kB / 1.062 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.4843, allocations: 0 / 1.062 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.4843, allocations: 13.72 kB / 1.062 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.4844, allocations: 318.8 kB / 1.063 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-06/0.4844, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.4844, allocations: 22.56 kB / 1.063 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.4845, allocations: 79.22 kB / 1.063 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.4845, allocations: 75.28 kB / 1.063 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.015e-05/0.4846, allocations: 37.58 kB / 1.063 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.4846, allocations: 79.28 kB / 1.063 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.4846, allocations: 83.28 kB / 1.063 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.222e-05/0.4847, allocations: 150.6 kB / 1.063 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.363e-05/0.4847, allocations: 83.22 kB / 1.063 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-05/0.4848, allocations: 154.5 kB / 1.064 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.4849, allocations: 83.22 kB / 1.064 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.485, allocations: 75.28 kB / 1.064 GB, free: 14.54 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.4851, allocations: 264.9 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.4851, allocations: 112.9 kB / 1.064 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.4852, allocations: 112.1 kB / 1.064 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-05/0.4852, allocations: 176.3 kB / 1.064 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-05/0.4853, allocations: 180.2 kB / 1.064 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.121e-05/0.4854, allocations: 180.5 kB / 1.065 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.4856, allocations: 409.2 kB / 1.065 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/0.4856, allocations: 105 kB / 1.065 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.4857, allocations: 108.9 kB / 1.065 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-05/0.4857, allocations: 188.2 kB / 1.065 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.4858, allocations: 180.3 kB / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.336e-05/0.4858, allocations: 184.2 kB / 1.066 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.895e-05/0.4859, allocations: 180.3 kB / 1.066 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.4861, allocations: 303.8 kB / 1.066 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.4862, allocations: 186 kB / 1.066 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.4862, allocations: 184.2 kB / 1.067 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.4864, allocations: 109 kB / 1.067 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.4864, allocations: 176.3 kB / 1.067 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.4865, allocations: 112.9 kB / 1.067 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.4865, allocations: 75.28 kB / 1.067 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4865, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000259/0.4868, allocations: 12 kB / 1.067 GB, free: 10.85 MB / 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 (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.0001192/0.4869, allocations: 174.5 kB / 1.067 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.486e-05/0.4869, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.487, allocations: 3.938 kB / 1.067 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.487, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.4873, allocations: 467.6 kB / 1.068 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.4876, allocations: 164.8 kB / 1.068 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.4878, allocations: 0.6729 MB / 1.068 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.4878, allocations: 4 kB / 1.068 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.4878, allocations: 7.438 kB / 1.068 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.4878, allocations: 0 / 1.068 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of Templates: time 0.004164/0.492, allocations: 0.4999 MB / 1.069 GB, free: 8.805 MB / 0.8419 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 -s gbode -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/jenkins1/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