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.009219/0.009219, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001977/0.001977, allocations: 189.2 kB / 16.67 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.415/1.415, 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.662/2.662, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.91 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.003787/1.016, allocations: 1.24 MB / 1.209 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002755/1.019, allocations: 1.253 MB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/1.019, allocations: 0 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/1.019, allocations: 3.938 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/1.021, allocations: 218.4 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/1.021, allocations: 31.94 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/1.021, allocations: 15.94 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/1.021, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/1.021, allocations: 7.984 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.185/1.206, allocations: 30.91 MB / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/1.206, allocations: 0 / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/1.206, allocations: 0 / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/1.206, allocations: 7.938 kB / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/1.206, allocations: 0 / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/1.206, allocations: 7.984 kB / 1.241 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/1.206, allocations: 7.984 kB / 1.241 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/1.206, allocations: 0 / 1.241 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.206, allocations: 4 kB / 1.241 GB, free: 14.3 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.0003655/1.207, allocations: 315.6 kB / 1.241 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/1.207, allocations: 12.03 kB / 1.241 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/1.207, allocations: 76.22 kB / 1.241 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/1.207, allocations: 247.6 kB / 1.241 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/1.207, allocations: 158.9 kB / 1.241 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/1.207, allocations: 154.9 kB / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.632e-05/1.207, allocations: 105.1 kB / 1.242 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/1.207, allocations: 75.28 kB / 1.242 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.208, allocations: 154.5 kB / 1.242 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.648e-05/1.208, allocations: 150.6 kB / 1.242 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/1.208, allocations: 150.6 kB / 1.242 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/1.208, allocations: 457.9 kB / 1.243 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.637e-05/1.208, allocations: 165.1 kB / 1.243 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/1.208, allocations: 80.14 kB / 1.243 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/1.208, allocations: 75.28 kB / 1.243 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/1.208, allocations: 121.8 kB / 1.243 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/1.208, allocations: 0 / 1.243 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.437e-05/1.208, allocations: 29.64 kB / 1.243 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.208, allocations: 207.8 kB / 1.243 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/1.209, allocations: 97.83 kB / 1.243 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/1.209, allocations: 33.7 kB / 1.243 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/1.209, allocations: 80.14 kB / 1.243 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/1.209, allocations: 4 kB / 1.243 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/1.209, allocations: 13.72 kB / 1.243 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.209, allocations: 314.8 kB / 1.244 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-06/1.209, allocations: 0 / 1.244 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/1.21, allocations: 22.58 kB / 1.244 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/1.21, allocations: 75.28 kB / 1.244 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/1.21, allocations: 79.22 kB / 1.244 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.641e-05/1.21, allocations: 41.58 kB / 1.244 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/1.21, allocations: 83.19 kB / 1.244 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/1.21, allocations: 79.36 kB / 1.244 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.506e-05/1.21, allocations: 158.6 kB / 1.244 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/1.21, allocations: 83.27 kB / 1.244 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.035e-05/1.21, allocations: 150.6 kB / 1.244 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.21, allocations: 91.22 kB / 1.245 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/1.21, allocations: 75.28 kB / 1.245 GB, free: 9.902 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.0001381/1.21, allocations: 264.9 kB / 1.245 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/1.211, allocations: 108.9 kB / 1.245 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/1.211, allocations: 108.1 kB / 1.245 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.957e-05/1.211, allocations: 180.3 kB / 1.245 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.038e-05/1.211, allocations: 184.2 kB / 1.245 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.26e-05/1.211, allocations: 184.2 kB / 1.246 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/1.211, allocations: 401.2 kB / 1.246 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/1.211, allocations: 104.9 kB / 1.246 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/1.211, allocations: 112.9 kB / 1.246 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.481e-05/1.211, allocations: 184.2 kB / 1.246 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/1.211, allocations: 180.3 kB / 1.247 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-05/1.211, allocations: 180.2 kB / 1.247 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.957e-05/1.212, allocations: 180.3 kB / 1.247 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/1.212, allocations: 315.8 kB / 1.247 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/1.212, allocations: 182 kB / 1.247 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/1.212, allocations: 180.2 kB / 1.248 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.212, allocations: 113 kB / 1.248 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/1.212, allocations: 176.3 kB / 1.248 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/1.212, allocations: 108.9 kB / 1.248 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.417e-05/1.212, allocations: 79.28 kB / 1.248 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/1.212, allocations: 0 / 1.248 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002857/1.213, allocations: 4 kB / 1.248 GB, free: 6.223 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.000206/1.213, allocations: 174.5 kB / 1.248 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.178e-05/1.213, allocations: 8 kB / 1.248 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.213, allocations: 0 / 1.248 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/1.213, allocations: 0 / 1.248 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/1.213, allocations: 465 kB / 1.249 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/1.214, allocations: 176.6 kB / 1.249 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/1.214, allocations: 0.669 MB / 1.249 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.42e-05/1.214, allocations: 4 kB / 1.249 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/1.214, allocations: 11.44 kB / 1.249 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/1.214, allocations: 0 / 1.249 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.005559/1.22, allocations: 0.4922 MB / 1.25 GB, free: 4.172 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