Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.258/2.258, allocations: 390.5 MB / 398 MB, free: 10.92 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.001285/0.001284, allocations: 188.9 kB / 491.2 MB, free: 1.562 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.551/1.551, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009044/0.0009046, allocations: 95.58 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.792e-05, allocations: 6.625 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.418, allocations: 151.4 MB / 1.36 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.418, allocations: 93.39 kB / 1.36 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06395/1.482, allocations: 40.38 MB / 1.4 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.595e-06/1.482, allocations: 0 / 1.4 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.176e-05/1.482, allocations: 3.812 kB / 1.4 GB, free: 24.49 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.0005447/1.483, allocations: 375.9 kB / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/1.483, allocations: 10.75 kB / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/1.483, allocations: 75.28 kB / 1.4 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/1.483, allocations: 253.5 kB / 1.4 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/1.483, allocations: 154.6 kB / 1.401 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/1.484, allocations: 150.6 kB / 1.401 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.374e-05/1.484, allocations: 154.5 kB / 1.401 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.579e-05/1.484, allocations: 101 kB / 1.401 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/1.484, allocations: 75.28 kB / 1.401 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/1.484, allocations: 158.3 kB / 1.401 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/1.484, allocations: 150.6 kB / 1.401 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/1.484, allocations: 429.6 kB / 1.402 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/1.484, allocations: 165.1 kB / 1.402 GB, free: 22.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/1.484, allocations: 91.27 kB / 1.402 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/1.484, allocations: 79.09 kB / 1.402 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/1.484, allocations: 105.8 kB / 1.402 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/1.484, allocations: 0 / 1.402 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.216e-05/1.485, allocations: 26.33 kB / 1.402 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.485, allocations: 132.4 kB / 1.402 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/1.485, allocations: 88.31 kB / 1.402 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.485, allocations: 33.58 kB / 1.402 GB, free: 21.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/1.485, allocations: 84.69 kB / 1.402 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/1.485, allocations: 0 / 1.402 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-07/1.485, allocations: 0 / 1.402 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.485, allocations: 310.8 kB / 1.403 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-06/1.485, allocations: 0 / 1.403 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/1.485, allocations: 25.64 kB / 1.403 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/1.485, allocations: 83.22 kB / 1.403 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-05/1.485, allocations: 75.28 kB / 1.403 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.029e-05/1.485, allocations: 37.41 kB / 1.403 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/1.485, allocations: 82.81 kB / 1.403 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/1.485, allocations: 87.2 kB / 1.403 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.048e-05/1.485, allocations: 154.5 kB / 1.403 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.712e-05/1.485, allocations: 75.28 kB / 1.403 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.515e-05/1.486, allocations: 154.6 kB / 1.404 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/1.486, allocations: 83.09 kB / 1.404 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/1.486, allocations: 75.28 kB / 1.404 GB, free: 20.29 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.0001412/1.486, allocations: 262.8 kB / 1.404 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/1.486, allocations: 112.9 kB / 1.404 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/1.486, allocations: 116.4 kB / 1.404 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-05/1.486, allocations: 176.3 kB / 1.404 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.257e-05/1.486, allocations: 176.3 kB / 1.404 GB, free: 19.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-05/1.486, allocations: 184.4 kB / 1.405 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/1.486, allocations: 380.5 kB / 1.405 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-05/1.486, allocations: 101.9 kB / 1.405 GB, free: 18.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/1.487, allocations: 116.9 kB / 1.405 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.817e-05/1.487, allocations: 180.1 kB / 1.405 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/1.487, allocations: 180.2 kB / 1.406 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.276e-05/1.487, allocations: 182.8 kB / 1.406 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.94e-05/1.487, allocations: 176.3 kB / 1.406 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/1.487, allocations: 310.8 kB / 1.406 GB, free: 17.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/1.487, allocations: 182.1 kB / 1.406 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/1.487, allocations: 180.2 kB / 1.407 GB, free: 17.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/1.487, allocations: 116.8 kB / 1.407 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/1.487, allocations: 184.3 kB / 1.407 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/1.487, allocations: 104.9 kB / 1.407 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.136e-05/1.487, allocations: 80.88 kB / 1.407 GB, free: 16.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.487, allocations: 0 / 1.407 GB, free: 16.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002886/1.488, allocations: 3.969 kB / 1.407 GB, free: 16.7 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.0001549/1.488, allocations: 174 kB / 1.407 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.127e-05/1.488, allocations: 7.406 kB / 1.407 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.488, allocations: 4 kB / 1.407 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/1.488, allocations: 0 / 1.407 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/1.488, allocations: 0.5185 MB / 1.408 GB, free: 16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/1.489, allocations: 119.1 kB / 1.408 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/1.489, allocations: 0.6766 MB / 1.408 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.907e-05/1.489, allocations: 11.72 kB / 1.408 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.017e-05/1.489, allocations: 11.38 kB / 1.408 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.489, allocations: 3.938 kB / 1.408 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of Templates: time 0.002327/1.491, allocations: 449.6 kB / 1.409 GB, free: 14.93 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches