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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 387.1 MB / 399.7 MB, free: 9.434 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 176.1 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 95.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.1e-05, allocations: 6.062 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.314, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.321, allocations: 151.3 MB / 1.36 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.321, allocations: 84.73 kB / 1.36 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05829/1.38, allocations: 40.04 MB / 1.399 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.803e-06/1.38, allocations: 0 / 1.399 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.38, allocations: 0 / 1.399 GB, free: 26.25 MB / 0.8386 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.0004508/1.38, allocations: 380.5 kB / 1.4 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.38, allocations: 11.66 kB / 1.4 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/1.38, allocations: 83.27 kB / 1.4 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/1.381, allocations: 246.7 kB / 1.4 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/1.381, allocations: 154.5 kB / 1.4 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/1.381, allocations: 150.6 kB / 1.4 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.621e-05/1.381, allocations: 101 kB / 1.4 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/1.381, allocations: 83.27 kB / 1.4 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/1.381, allocations: 154.5 kB / 1.401 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/1.381, allocations: 162.3 kB / 1.401 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/1.381, allocations: 150.6 kB / 1.401 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/1.381, allocations: 449.1 kB / 1.401 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/1.381, allocations: 173 kB / 1.402 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/1.381, allocations: 80.14 kB / 1.402 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/1.381, allocations: 75.28 kB / 1.402 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.381, allocations: 109.8 kB / 1.402 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/1.381, allocations: 0 / 1.402 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.44e-05/1.381, allocations: 33.14 kB / 1.402 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/1.381, allocations: 211.8 kB / 1.402 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/1.382, allocations: 88.84 kB / 1.402 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/1.382, allocations: 25.7 kB / 1.402 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/1.382, allocations: 83.77 kB / 1.402 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/1.382, allocations: 0 / 1.402 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-07/1.382, allocations: 0 / 1.402 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/1.382, allocations: 314.7 kB / 1.402 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/1.382, allocations: 4 kB / 1.403 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/1.382, allocations: 22.14 kB / 1.403 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/1.382, allocations: 75.28 kB / 1.403 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/1.382, allocations: 83.22 kB / 1.403 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.4e-05/1.382, allocations: 33.48 kB / 1.403 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.382, allocations: 79.19 kB / 1.403 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.382, allocations: 81.66 kB / 1.403 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.056e-05/1.382, allocations: 158.5 kB / 1.403 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.776e-05/1.382, allocations: 75.28 kB / 1.403 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.932e-05/1.382, allocations: 154.5 kB / 1.403 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/1.382, allocations: 90.97 kB / 1.403 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/1.382, allocations: 79.22 kB / 1.403 GB, free: 21.93 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.52e-05/1.382, allocations: 259.3 kB / 1.404 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/1.382, allocations: 104.9 kB / 1.404 GB, free: 21.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/1.382, allocations: 111.6 kB / 1.404 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.437e-05/1.383, allocations: 188.1 kB / 1.404 GB, free: 21.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-05/1.383, allocations: 179.4 kB / 1.404 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/1.383, allocations: 185.2 kB / 1.404 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/1.383, allocations: 404.3 kB / 1.405 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/1.383, allocations: 101 kB / 1.405 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/1.383, allocations: 112.7 kB / 1.405 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-05/1.383, allocations: 176.3 kB / 1.405 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/1.383, allocations: 180.2 kB / 1.405 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.66e-05/1.383, allocations: 188.2 kB / 1.405 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.183e-05/1.383, allocations: 184 kB / 1.406 GB, free: 19.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/1.383, allocations: 299.5 kB / 1.406 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/1.383, allocations: 190 kB / 1.406 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/1.383, allocations: 196.2 kB / 1.406 GB, free: 18.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/1.384, allocations: 101 kB / 1.406 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.384, allocations: 180.2 kB / 1.407 GB, free: 18.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/1.384, allocations: 112.8 kB / 1.407 GB, free: 18.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.963e-05/1.384, allocations: 79.08 kB / 1.407 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.384, allocations: 0 / 1.407 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002824/1.384, allocations: 7.562 kB / 1.407 GB, free: 18.3 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001301/1.384, allocations: 175.9 kB / 1.407 GB, free: 18.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.316e-05/1.384, allocations: 7.844 kB / 1.407 GB, free: 18.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.384, allocations: 0 / 1.407 GB, free: 18.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/1.384, allocations: 0 / 1.407 GB, free: 18.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/1.385, allocations: 0.5235 MB / 1.407 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/1.385, allocations: 125.9 kB / 1.408 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/1.385, allocations: 0.673 MB / 1.408 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.772e-05/1.385, allocations: 11.8 kB / 1.408 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/1.385, allocations: 11.42 kB / 1.408 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.385, allocations: 0 / 1.408 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.002281/1.387, allocations: 465.8 kB / 1.409 GB, free: 16.53 MB / 0.8386 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","../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches