Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001451/0.001451, allocations: 109.1 kB / 16.41 MB, free: 6.449 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.001499/0.001499, allocations: 185.5 kB / 17.34 MB, free: 5.738 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 / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 76.09 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8388/0.8401, allocations: 151.6 MB / 1.167 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002272/0.8424, allocations: 1.235 MB / 1.169 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.8444, allocations: 1.255 MB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.8445, allocations: 0 / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.8445, allocations: 0 / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.8452, allocations: 211.3 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.948e-05/0.8453, allocations: 37.33 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.924e-05/0.8453, allocations: 15.98 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.8454, allocations: 4 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.8454, allocations: 15.86 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.181/1.026, allocations: 30.91 MB / 1.2 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/1.026, allocations: 0 / 1.2 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/1.026, allocations: 0 / 1.2 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/1.026, allocations: 0 / 1.2 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/1.027, allocations: 4 kB / 1.2 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/1.027, allocations: 15.91 kB / 1.2 GB, free: 4.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.027, allocations: 0 / 1.2 GB, free: 4.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/1.027, allocations: 4 kB / 1.2 GB, free: 4.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.027, allocations: 4 kB / 1.2 GB, free: 4.484 MB / 0.92 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.0003036/1.027, allocations: 323.5 kB / 1.201 GB, free: 4.121 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.027, allocations: 12.62 kB / 1.201 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/1.027, allocations: 76.22 kB / 1.201 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/1.027, allocations: 235.7 kB / 1.201 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/1.027, allocations: 150.9 kB / 1.201 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/1.027, allocations: 162.9 kB / 1.201 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.481e-05/1.027, allocations: 113 kB / 1.201 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/1.027, allocations: 75.28 kB / 1.201 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/1.028, allocations: 150.6 kB / 1.201 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/1.028, allocations: 150.6 kB / 1.202 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/1.028, allocations: 150.6 kB / 1.202 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/1.028, allocations: 454 kB / 1.202 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/1.028, allocations: 169.1 kB / 1.202 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/1.028, allocations: 84.08 kB / 1.202 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/1.028, allocations: 79.27 kB / 1.202 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.028, allocations: 117.8 kB / 1.203 GB, free: 1.863 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.028, allocations: 0 / 1.203 GB, free: 1.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.297e-05/1.028, allocations: 33.66 kB / 1.203 GB, free: 1.824 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/1.028, allocations: 203.8 kB / 1.203 GB, free: 1.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/1.028, allocations: 97.84 kB / 1.203 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/1.028, allocations: 29.7 kB / 1.203 GB, free: 1.453 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/1.028, allocations: 88.12 kB / 1.203 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/1.028, allocations: 4 kB / 1.203 GB, free: 1.359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/1.029, allocations: 17.66 kB / 1.203 GB, free: 1.336 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.029, allocations: 310.8 kB / 1.203 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-06/1.029, allocations: 0 / 1.203 GB, free: 1.023 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/1.029, allocations: 18.58 kB / 1.203 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/1.029, allocations: 83.27 kB / 1.203 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-05/1.029, allocations: 75.28 kB / 1.204 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.425e-05/1.029, allocations: 37.64 kB / 1.204 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/1.029, allocations: 79.28 kB / 1.204 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/1.029, allocations: 91.23 kB / 1.204 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.154e-05/1.029, allocations: 150.6 kB / 1.204 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.423e-05/1.029, allocations: 79.33 kB / 1.204 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-05/1.029, allocations: 154.5 kB / 1.204 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/1.029, allocations: 87.27 kB / 1.204 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/1.029, allocations: 83.22 kB / 1.204 GB, free: 84 kB / 0.92 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.0001302/1.029, allocations: 260.4 kB / 1.204 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/1.029, allocations: 104.9 kB / 1.205 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/1.029, allocations: 116 kB / 1.205 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/1.03, allocations: 180.3 kB / 1.205 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/1.03, allocations: 180.3 kB / 1.205 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.15e-05/1.03, allocations: 180.2 kB / 1.205 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/1.03, allocations: 401.2 kB / 1.206 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/1.03, allocations: 104.9 kB / 1.206 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/1.03, allocations: 112.9 kB / 1.206 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.079e-05/1.03, allocations: 180.3 kB / 1.206 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/1.03, allocations: 184.2 kB / 1.206 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-05/1.03, allocations: 176.3 kB / 1.206 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.195e-05/1.03, allocations: 184.2 kB / 1.206 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/1.03, allocations: 307.8 kB / 1.207 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/1.03, allocations: 190 kB / 1.207 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/1.031, allocations: 176.3 kB / 1.207 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/1.031, allocations: 108.9 kB / 1.207 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/1.031, allocations: 184.2 kB / 1.207 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/1.031, allocations: 112.9 kB / 1.208 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.718e-05/1.031, allocations: 79.28 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.432e-06/1.031, allocations: 0 / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002497/1.031, allocations: 7.938 kB / 1.208 GB, free: 12.4 MB / 0.9356 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.0001319/1.031, allocations: 174.5 kB / 1.208 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.671e-05/1.031, allocations: 0 / 1.208 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.031, allocations: 0 / 1.208 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/1.031, allocations: 0 / 1.208 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/1.032, allocations: 470.8 kB / 1.208 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000719/1.032, allocations: 186.4 kB / 1.208 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/1.033, allocations: 0.6729 MB / 1.209 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/1.033, allocations: 15.36 kB / 1.209 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/1.033, allocations: 3.938 kB / 1.209 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.00281/1.035, allocations: 467.9 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches