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.219/2.219, allocations: 387.4 MB / 394.9 MB, free: 13.3 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.001157/0.001157, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.587/1.587, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 95.84 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/2.003e-05, allocations: 5.562 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3041, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9214/1.226, allocations: 150.6 MB / 1.353 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.226, allocations: 89.61 kB / 1.353 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05938/1.285, allocations: 40.37 MB / 1.393 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.144e-06/1.285, allocations: 0 / 1.393 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.285, allocations: 0 / 1.393 GB, free: 26.08 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.0005539/1.286, allocations: 372.3 kB / 1.393 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.286, allocations: 11.81 kB / 1.393 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/1.286, allocations: 79.27 kB / 1.393 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/1.286, allocations: 257.8 kB / 1.393 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.867e-05/1.286, allocations: 158.5 kB / 1.393 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/1.286, allocations: 150.6 kB / 1.394 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.828e-05/1.287, allocations: 150.6 kB / 1.394 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.448e-05/1.287, allocations: 101 kB / 1.394 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/1.287, allocations: 75.28 kB / 1.394 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/1.287, allocations: 154.4 kB / 1.394 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.679e-05/1.287, allocations: 154.6 kB / 1.394 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/1.287, allocations: 429.4 kB / 1.395 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/1.287, allocations: 173.1 kB / 1.395 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/1.287, allocations: 86.98 kB / 1.395 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/1.287, allocations: 79.28 kB / 1.395 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/1.287, allocations: 105.8 kB / 1.395 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/1.287, allocations: 0 / 1.395 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.553e-05/1.288, allocations: 29.58 kB / 1.395 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.288, allocations: 128.5 kB / 1.395 GB, free: 23.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/1.288, allocations: 96.17 kB / 1.395 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/1.288, allocations: 29.64 kB / 1.395 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/1.288, allocations: 84.14 kB / 1.395 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/1.288, allocations: 0 / 1.395 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-07/1.288, allocations: 0 / 1.395 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.288, allocations: 310.8 kB / 1.396 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-06/1.288, allocations: 0 / 1.396 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/1.288, allocations: 21.7 kB / 1.396 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/1.288, allocations: 75.28 kB / 1.396 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/1.288, allocations: 79.28 kB / 1.396 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.136e-05/1.288, allocations: 41.42 kB / 1.396 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/1.288, allocations: 85.03 kB / 1.396 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.532e-05/1.288, allocations: 83.22 kB / 1.396 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.199e-05/1.288, allocations: 150.6 kB / 1.396 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.235e-05/1.288, allocations: 75.28 kB / 1.396 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.198e-05/1.289, allocations: 154.5 kB / 1.396 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/1.289, allocations: 90.17 kB / 1.396 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/1.289, allocations: 75.28 kB / 1.397 GB, free: 21.88 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 0.0001624/1.289, allocations: 260.6 kB / 1.397 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/1.289, allocations: 112.9 kB / 1.397 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/1.289, allocations: 112.3 kB / 1.397 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-05/1.289, allocations: 184.2 kB / 1.397 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.416e-05/1.289, allocations: 183.8 kB / 1.397 GB, free: 21.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.142e-05/1.289, allocations: 176.3 kB / 1.398 GB, free: 20.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/1.289, allocations: 381.6 kB / 1.398 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.689e-05/1.29, allocations: 105.9 kB / 1.398 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/1.29, allocations: 104.9 kB / 1.398 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.146e-05/1.29, allocations: 184.1 kB / 1.398 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/1.29, allocations: 183.3 kB / 1.398 GB, free: 19.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.114e-05/1.29, allocations: 180.2 kB / 1.399 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.609e-05/1.29, allocations: 180.2 kB / 1.399 GB, free: 19.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/1.29, allocations: 307.5 kB / 1.399 GB, free: 19.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/1.29, allocations: 181.9 kB / 1.399 GB, free: 18.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.451e-05/1.29, allocations: 184.2 kB / 1.399 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/1.29, allocations: 108.8 kB / 1.4 GB, free: 18.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/1.29, allocations: 184.2 kB / 1.4 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/1.29, allocations: 108.9 kB / 1.4 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.344e-05/1.29, allocations: 83.14 kB / 1.4 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.29, allocations: 0 / 1.4 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002935/1.291, allocations: 3.844 kB / 1.4 GB, free: 18.27 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.0001315/1.291, allocations: 173.2 kB / 1.4 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.856e-05/1.291, allocations: 3.875 kB / 1.4 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.291, allocations: 0 / 1.4 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/1.291, allocations: 0 / 1.4 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/1.291, allocations: 0.5223 MB / 1.401 GB, free: 17.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/1.292, allocations: 126.3 kB / 1.401 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/1.292, allocations: 0.6766 MB / 1.401 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.214e-05/1.292, allocations: 8.344 kB / 1.401 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/1.292, allocations: 7.438 kB / 1.401 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.292, allocations: 0 / 1.401 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.002168/1.294, allocations: 444.1 kB / 1.402 GB, free: 16.52 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