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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001526/0.001526, allocations: 103.4 kB / 16.27 MB, free: 5.98 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.001513/0.001514, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.599/2.599, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.97 kB / 0.9245 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.811, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002242/0.8133, allocations: 1.232 MB / 1.084 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.8151, allocations: 1.246 MB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.8151, allocations: 1.594 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.8151, allocations: 0.6094 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006944/0.8158, allocations: 208.8 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.816, allocations: 40.52 kB / 1.086 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.679e-05/0.816, allocations: 7.703 kB / 1.086 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.8161, allocations: 6.734 kB / 1.086 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.8161, allocations: 14.48 kB / 1.086 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2418/1.058, allocations: 30.64 MB / 1.116 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/1.058, allocations: 0.875 kB / 1.116 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/1.058, allocations: 0.7188 kB / 1.116 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/1.058, allocations: 1.5 kB / 1.116 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/1.058, allocations: 8.109 kB / 1.116 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/1.058, allocations: 14.89 kB / 1.116 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.058, allocations: 0 / 1.116 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.874e-06/1.058, allocations: 0 / 1.116 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.058, allocations: 1.094 kB / 1.116 GB, free: 1.441 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.0003247/1.059, allocations: 321.4 kB / 1.116 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.059, allocations: 9.953 kB / 1.116 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/1.059, allocations: 78.53 kB / 1.116 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/1.059, allocations: 240.8 kB / 1.116 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/1.059, allocations: 160.7 kB / 1.116 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/1.059, allocations: 151.9 kB / 1.116 GB, free: 448 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/1.059, allocations: 105.1 kB / 1.117 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/1.059, allocations: 80.72 kB / 1.117 GB, free: 256 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.302e-05/1.059, allocations: 151.6 kB / 1.117 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.966e-05/1.059, allocations: 154.6 kB / 1.117 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/1.059, allocations: 152.2 kB / 1.117 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/1.06, allocations: 445.5 kB / 1.118 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.579e-05/1.06, allocations: 166.2 kB / 1.118 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/1.06, allocations: 89.78 kB / 1.118 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/1.06, allocations: 75.28 kB / 1.118 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.207e-05/1.06, allocations: 115.6 kB / 1.118 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/1.06, allocations: 1.031 kB / 1.118 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.408e-05/1.06, allocations: 28.62 kB / 1.118 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.06, allocations: 203.8 kB / 1.118 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/1.06, allocations: 96.38 kB / 1.118 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.06, allocations: 33.7 kB / 1.118 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/1.06, allocations: 82.91 kB / 1.118 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/1.06, allocations: 0 / 1.118 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/1.06, allocations: 14.58 kB / 1.118 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.06, allocations: 312.6 kB / 1.119 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/1.06, allocations: 3.938 kB / 1.119 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/1.061, allocations: 23.27 kB / 1.119 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/1.061, allocations: 80.34 kB / 1.119 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-05/1.061, allocations: 75.94 kB / 1.119 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.737e-05/1.061, allocations: 37.8 kB / 1.119 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/1.061, allocations: 84.5 kB / 1.119 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/1.061, allocations: 84.95 kB / 1.119 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.681e-05/1.061, allocations: 152.2 kB / 1.119 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.079e-05/1.061, allocations: 80.12 kB / 1.119 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-05/1.061, allocations: 164.1 kB / 1.119 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/1.061, allocations: 87.03 kB / 1.12 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/1.061, allocations: 81.25 kB / 1.12 GB, free: 13.12 MB / 0.8575 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.0001396/1.061, allocations: 259.3 kB / 1.12 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/1.061, allocations: 107.8 kB / 1.12 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/1.061, allocations: 110.3 kB / 1.12 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.228e-05/1.062, allocations: 186.4 kB / 1.12 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.927e-05/1.062, allocations: 178.1 kB / 1.12 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.437e-05/1.062, allocations: 181.9 kB / 1.121 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.062, allocations: 402.4 kB / 1.121 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-05/1.062, allocations: 106.8 kB / 1.121 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/1.062, allocations: 110.6 kB / 1.121 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.209e-05/1.062, allocations: 182 kB / 1.121 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/1.062, allocations: 182.7 kB / 1.121 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.399e-05/1.062, allocations: 178.2 kB / 1.122 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-05/1.062, allocations: 181.4 kB / 1.122 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/1.063, allocations: 305.7 kB / 1.122 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/1.063, allocations: 193.1 kB / 1.122 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/1.063, allocations: 178.1 kB / 1.122 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/1.063, allocations: 114 kB / 1.123 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/1.063, allocations: 182.1 kB / 1.123 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/1.063, allocations: 102.7 kB / 1.123 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.556e-05/1.063, allocations: 78.2 kB / 1.123 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.063, allocations: 0 / 1.123 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002386/1.063, allocations: 4.172 kB / 1.123 GB, free: 9.512 MB / 0.8575 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.0001627/1.064, allocations: 176.2 kB / 1.123 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.41e-05/1.064, allocations: 5.828 kB / 1.123 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.064, allocations: 5.062 kB / 1.123 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.064, allocations: 0 / 1.123 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/1.064, allocations: 458 kB / 1.124 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/1.064, allocations: 194.7 kB / 1.124 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/1.065, allocations: 0.676 MB / 1.124 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/1.065, allocations: 12.56 kB / 1.124 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/1.065, allocations: 1.094 kB / 1.124 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of Templates: time 0.002788/1.067, allocations: 474.8 kB / 1.125 GB, free: 7.934 MB / 0.8575 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=400 -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/jenkins1/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