Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007774/0.007774, allocations: 102.5 kB / 15.73 MB, free: 6.035 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.001826/0.001826, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 70.39 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2426, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002128/0.2447, allocations: 1.223 MB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.2465, allocations: 1.256 MB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.2466, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.2466, allocations: 3.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006831/0.2473, allocations: 219.3 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.2474, allocations: 34.56 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.851e-05/0.2475, allocations: 11.94 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.2475, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.2475, allocations: 7.938 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1912/0.4388, allocations: 30.9 MB / 1.121 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.4388, allocations: 0 / 1.121 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.4388, allocations: 0 / 1.121 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.4389, allocations: 3.984 kB / 1.121 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.4389, allocations: 8 kB / 1.121 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/0.439, allocations: 15.92 kB / 1.121 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.439, allocations: 0 / 1.121 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.703e-06/0.439, allocations: 0 / 1.121 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.439, allocations: 0 / 1.121 GB, free: 2.023 MB / 0.8731 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.0002566/0.4393, allocations: 323.5 kB / 1.121 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4393, allocations: 8.031 kB / 1.121 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.4394, allocations: 80.22 kB / 1.121 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.4395, allocations: 247.6 kB / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.4395, allocations: 150.9 kB / 1.122 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.4396, allocations: 150.9 kB / 1.122 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.389e-05/0.4396, allocations: 113.1 kB / 1.122 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.4397, allocations: 79.28 kB / 1.122 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.4397, allocations: 150.6 kB / 1.122 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/0.4398, allocations: 154.6 kB / 1.122 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.4398, allocations: 154.5 kB / 1.122 GB, free: 356 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.4401, allocations: 449.9 kB / 1.123 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.261e-05/0.4401, allocations: 165.1 kB / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.4402, allocations: 88.14 kB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.4402, allocations: 75.28 kB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.4402, allocations: 109.8 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4403, allocations: 0 / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.274e-05/0.4403, allocations: 41.55 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.4404, allocations: 203.8 kB / 1.123 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.4405, allocations: 101.8 kB / 1.124 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4405, allocations: 25.7 kB / 1.124 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.4406, allocations: 88.14 kB / 1.124 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.4406, allocations: 0 / 1.124 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.4406, allocations: 13.72 kB / 1.124 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.4407, allocations: 314.8 kB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.4407, allocations: 0 / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.4407, allocations: 26.52 kB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.4408, allocations: 75.28 kB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.4408, allocations: 75.28 kB / 1.124 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.653e-05/0.4409, allocations: 45.56 kB / 1.124 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.4409, allocations: 79.28 kB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.4409, allocations: 79.28 kB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.346e-05/0.441, allocations: 162.5 kB / 1.124 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.49e-05/0.441, allocations: 79.28 kB / 1.125 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.18e-05/0.4411, allocations: 154.5 kB / 1.125 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.4412, allocations: 83.22 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.4413, allocations: 75.28 kB / 1.125 GB, free: 13.62 MB / 0.8887 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.0001013/0.4414, allocations: 264.4 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.4414, allocations: 112.8 kB / 1.125 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.4415, allocations: 108.1 kB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.026e-05/0.4415, allocations: 180.3 kB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.154e-05/0.4416, allocations: 180.2 kB / 1.126 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.217e-05/0.4416, allocations: 180.3 kB / 1.126 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.4418, allocations: 405.2 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/0.4419, allocations: 105 kB / 1.126 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.4419, allocations: 108.9 kB / 1.126 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.988e-05/0.442, allocations: 188.2 kB / 1.127 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.4421, allocations: 176.3 kB / 1.127 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.912e-05/0.4421, allocations: 184.2 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-05/0.4422, allocations: 176.3 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.4423, allocations: 312 kB / 1.127 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.4424, allocations: 186 kB / 1.128 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.4424, allocations: 184.2 kB / 1.128 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4426, allocations: 113 kB / 1.128 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.4426, allocations: 188.2 kB / 1.128 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.4427, allocations: 101 kB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.4427, allocations: 79.28 kB / 1.128 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4427, allocations: 0 / 1.128 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002533/0.443, allocations: 4 kB / 1.128 GB, free: 9.941 MB / 0.8887 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.00012/0.4431, allocations: 174.5 kB / 1.128 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 4.469e-05/0.4431, allocations: 8 kB / 1.128 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4431, allocations: 0 / 1.128 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.4432, allocations: 7.875 kB / 1.128 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.4435, allocations: 459.7 kB / 1.129 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.4437, allocations: 156.8 kB / 1.129 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.4439, allocations: 0.6807 MB / 1.13 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.4439, allocations: 0 / 1.13 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.444, allocations: 11.44 kB / 1.13 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of SimCode: time 2.51e-07/0.444, allocations: 0 / 1.13 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of Templates: time 0.003991/0.448, allocations: 0.5018 MB / 1.13 GB, free: 7.891 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches