Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_Buildings.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.01098/0.01098, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002276/0.002276, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7347 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 60.12 kB / 1.054 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9673/0.9696, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002494/0.9721, allocations: 1.235 MB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.9743, allocations: 1.253 MB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.9743, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.9743, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007927/0.9752, allocations: 215.3 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.9753, allocations: 30.83 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.9754, allocations: 11.94 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.9754, allocations: 7.984 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.9755, allocations: 19.97 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1778/1.153, allocations: 30.89 MB / 1.241 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/1.153, allocations: 4 kB / 1.241 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/1.153, allocations: 0 / 1.241 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/1.153, allocations: 3.938 kB / 1.241 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/1.153, allocations: 4 kB / 1.241 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/1.153, allocations: 11.98 kB / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.153, allocations: 0 / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.507e-06/1.154, allocations: 3.984 kB / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.653e-06/1.154, allocations: 4 kB / 1.241 GB, free: 14.38 MB / 0.9669 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.0002985/1.154, allocations: 315.6 kB / 1.241 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.154, allocations: 11.97 kB / 1.241 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/1.154, allocations: 84.22 kB / 1.241 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/1.154, allocations: 243.6 kB / 1.241 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/1.154, allocations: 150.9 kB / 1.241 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/1.154, allocations: 154.9 kB / 1.242 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.619e-05/1.154, allocations: 108.9 kB / 1.242 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.154, allocations: 79.27 kB / 1.242 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/1.154, allocations: 154.6 kB / 1.242 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/1.154, allocations: 150.6 kB / 1.242 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/1.154, allocations: 154.5 kB / 1.242 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/1.155, allocations: 449.9 kB / 1.243 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.351e-05/1.155, allocations: 169.1 kB / 1.243 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/1.155, allocations: 80.14 kB / 1.243 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/1.155, allocations: 83.22 kB / 1.243 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/1.155, allocations: 109.8 kB / 1.243 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 2.956e-06/1.155, allocations: 0 / 1.243 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.283e-05/1.155, allocations: 33.64 kB / 1.243 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/1.155, allocations: 203.8 kB / 1.243 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/1.155, allocations: 101.8 kB / 1.243 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/1.155, allocations: 25.7 kB / 1.243 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/1.155, allocations: 80.14 kB / 1.243 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/1.155, allocations: 0 / 1.243 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/1.155, allocations: 17.72 kB / 1.243 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/1.155, allocations: 322.8 kB / 1.244 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/1.155, allocations: 0 / 1.244 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/1.155, allocations: 14.58 kB / 1.244 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/1.155, allocations: 79.28 kB / 1.244 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/1.155, allocations: 75.28 kB / 1.244 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.589e-05/1.156, allocations: 41.58 kB / 1.244 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.156, allocations: 83.22 kB / 1.244 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.156, allocations: 75.36 kB / 1.244 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-05/1.156, allocations: 162.5 kB / 1.244 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.518e-05/1.156, allocations: 83.33 kB / 1.244 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.535e-05/1.156, allocations: 154.6 kB / 1.244 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/1.156, allocations: 83.22 kB / 1.245 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/1.156, allocations: 79.28 kB / 1.245 GB, free: 9.984 MB / 0.9669 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.0001098/1.156, allocations: 260.9 kB / 1.245 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/1.156, allocations: 112.9 kB / 1.245 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/1.156, allocations: 108.1 kB / 1.245 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.489e-05/1.156, allocations: 180.2 kB / 1.245 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-05/1.156, allocations: 184.3 kB / 1.245 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-05/1.156, allocations: 188.2 kB / 1.246 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/1.157, allocations: 405.2 kB / 1.246 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/1.157, allocations: 104.9 kB / 1.246 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/1.157, allocations: 108.9 kB / 1.246 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.854e-05/1.157, allocations: 180.3 kB / 1.246 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/1.157, allocations: 180.3 kB / 1.247 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.888e-05/1.157, allocations: 180.2 kB / 1.247 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.717e-05/1.157, allocations: 176.3 kB / 1.247 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/1.157, allocations: 315.8 kB / 1.247 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/1.157, allocations: 182 kB / 1.247 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/1.157, allocations: 188.2 kB / 1.248 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.157, allocations: 109 kB / 1.248 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/1.157, allocations: 180.2 kB / 1.248 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/1.157, allocations: 101 kB / 1.248 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.641e-05/1.157, allocations: 83.52 kB / 1.248 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.157, allocations: 0 / 1.248 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002566/1.158, allocations: 4 kB / 1.248 GB, free: 6.305 MB / 0.9669 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.0001405/1.158, allocations: 178.5 kB / 1.248 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.832e-05/1.158, allocations: 0 / 1.248 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.158, allocations: 0 / 1.248 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.158, allocations: 3.938 kB / 1.248 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/1.158, allocations: 468.9 kB / 1.249 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/1.158, allocations: 172.7 kB / 1.249 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/1.159, allocations: 0.669 MB / 1.249 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.276e-05/1.159, allocations: 8.125 kB / 1.249 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.002e-05/1.159, allocations: 7.438 kB / 1.249 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/1.159, allocations: 4 kB / 1.249 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of Templates: time 0.003996/1.163, allocations: 0.4999 MB / 1.25 GB, free: 4.242 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches