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.001642/0.001642, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.0017/0.0017, allocations: 187 kB / 17.34 MB, free: 5.742 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 67.83 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/0.9411, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00226/0.9434, allocations: 1.224 MB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.9454, allocations: 1.25 MB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.9454, allocations: 1.094 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.9454, allocations: 4.734 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.9462, allocations: 212.4 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.9463, allocations: 35.45 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.056e-05/0.9464, allocations: 20.88 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.9464, allocations: 7.344 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.666e-05/0.9465, allocations: 5.859 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1847/1.131, allocations: 30.91 MB / 1.121 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/1.131, allocations: 0 / 1.121 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/1.131, allocations: 1.375 kB / 1.121 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/1.131, allocations: 0.6562 kB / 1.121 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/1.131, allocations: 7.953 kB / 1.121 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/1.131, allocations: 14.84 kB / 1.122 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.131, allocations: 0.6094 kB / 1.122 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.845e-06/1.131, allocations: 0 / 1.122 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.241e-06/1.131, allocations: 0 / 1.122 GB, free: 5.266 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.0003455/1.132, allocations: 318.5 kB / 1.122 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.132, allocations: 9.031 kB / 1.122 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/1.132, allocations: 78.23 kB / 1.122 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/1.132, allocations: 242.7 kB / 1.122 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/1.132, allocations: 158.9 kB / 1.122 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/1.132, allocations: 152.8 kB / 1.122 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.074e-05/1.132, allocations: 105.1 kB / 1.123 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.132, allocations: 75.94 kB / 1.123 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/1.132, allocations: 152.1 kB / 1.123 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/1.132, allocations: 154.6 kB / 1.123 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/1.133, allocations: 152.6 kB / 1.123 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/1.133, allocations: 445.7 kB / 1.123 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/1.133, allocations: 171 kB / 1.124 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/1.133, allocations: 92.08 kB / 1.124 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/1.133, allocations: 75.28 kB / 1.124 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.133, allocations: 116 kB / 1.124 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.133, allocations: 0 / 1.124 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.684e-05/1.133, allocations: 36.62 kB / 1.124 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.133, allocations: 205.7 kB / 1.124 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.133, allocations: 99.09 kB / 1.124 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/1.133, allocations: 30.22 kB / 1.124 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/1.133, allocations: 81.95 kB / 1.124 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-06/1.133, allocations: 1.312 kB / 1.124 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/1.134, allocations: 13.58 kB / 1.124 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.134, allocations: 317.2 kB / 1.125 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-06/1.134, allocations: 0 / 1.125 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/1.134, allocations: 19.31 kB / 1.125 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/1.134, allocations: 79.28 kB / 1.125 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-05/1.134, allocations: 77.44 kB / 1.125 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.225e-05/1.134, allocations: 36.45 kB / 1.125 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/1.134, allocations: 81.89 kB / 1.125 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/1.134, allocations: 79.36 kB / 1.125 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-05/1.134, allocations: 152.5 kB / 1.125 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.527e-05/1.134, allocations: 88.42 kB / 1.125 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-05/1.134, allocations: 156.3 kB / 1.125 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/1.134, allocations: 87.03 kB / 1.125 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/1.134, allocations: 77.03 kB / 1.126 GB, free: 0.957 MB / 0.8731 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.0001193/1.134, allocations: 260.3 kB / 1.126 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/1.134, allocations: 107 kB / 1.126 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/1.135, allocations: 123.5 kB / 1.126 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.561e-05/1.135, allocations: 178.2 kB / 1.126 GB, free: 288 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.537e-05/1.135, allocations: 182.4 kB / 1.126 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-05/1.135, allocations: 177.1 kB / 1.127 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/1.135, allocations: 402.7 kB / 1.127 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/1.135, allocations: 110.3 kB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/1.135, allocations: 106.8 kB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.496e-05/1.135, allocations: 182.7 kB / 1.127 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/1.135, allocations: 177.9 kB / 1.127 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.114e-05/1.135, allocations: 181.8 kB / 1.128 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.145e-05/1.135, allocations: 184.9 kB / 1.128 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/1.135, allocations: 310.3 kB / 1.128 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/1.136, allocations: 185 kB / 1.128 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/1.136, allocations: 187.4 kB / 1.128 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/1.136, allocations: 105.3 kB / 1.129 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/1.136, allocations: 180.9 kB / 1.129 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/1.136, allocations: 106.8 kB / 1.129 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.566e-05/1.136, allocations: 78.67 kB / 1.129 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.5e-07/1.136, allocations: 3.938 kB / 1.129 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002532/1.136, allocations: 8.484 kB / 1.129 GB, free: 13.32 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.0001413/1.136, allocations: 173.1 kB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 5.25e-05/1.136, allocations: 2.984 kB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.136, allocations: 4 kB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/1.136, allocations: 0 / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/1.137, allocations: 460.1 kB / 1.13 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/1.137, allocations: 190 kB / 1.13 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/1.137, allocations: 0.6724 MB / 1.13 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/1.137, allocations: 12.84 kB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/1.137, allocations: 0 / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of Templates: time 0.004212/1.142, allocations: 468.6 kB / 1.131 GB, free: 11.77 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/jenkins1/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