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.692/2.692, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.002022/0.002022, allocations: 182.9 kB / 0.4902 GB, free: 2.246 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.781/1.781, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001044/0.001045, allocations: 96.28 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 10.81 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4338, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/0.6516, allocations: 152.1 MB / 1.378 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004525/0.6522, allocations: 95.92 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07692/0.7291, allocations: 40.27 MB / 1.417 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.108e-06/0.7292, allocations: 4 kB / 1.417 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.7293, allocations: 0 / 1.417 GB, free: 8.957 MB / 0.9167 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.0006631/0.7299, allocations: 383.3 kB / 1.418 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.73, allocations: 12.03 kB / 1.418 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.852e-05/0.7301, allocations: 79.28 kB / 1.418 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.7303, allocations: 238.3 kB / 1.418 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/0.7304, allocations: 150.6 kB / 1.418 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.7305, allocations: 154.5 kB / 1.418 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.7306, allocations: 109 kB / 1.418 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.7307, allocations: 75.28 kB / 1.418 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.7308, allocations: 158.6 kB / 1.419 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-05/0.7309, allocations: 150.6 kB / 1.419 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.731, allocations: 154.5 kB / 1.419 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.7314, allocations: 449.9 kB / 1.419 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.7315, allocations: 169.1 kB / 1.419 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.7316, allocations: 75.28 kB / 1.419 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.796e-05/0.7317, allocations: 113.8 kB / 1.42 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.7317, allocations: 0 / 1.42 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 9.834e-05/0.7318, allocations: 33.61 kB / 1.42 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/0.732, allocations: 207.8 kB / 1.42 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.7322, allocations: 93 kB / 1.42 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.7322, allocations: 25.7 kB / 1.42 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.7323, allocations: 80.14 kB / 1.42 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.7323, allocations: 4 kB / 1.42 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.7323, allocations: 0 / 1.42 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.7325, allocations: 314.8 kB / 1.42 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.7325, allocations: 0 / 1.42 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.7325, allocations: 22.58 kB / 1.42 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.683e-05/0.7326, allocations: 87.17 kB / 1.42 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.393e-05/0.7326, allocations: 75.28 kB / 1.42 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.029e-05/0.7327, allocations: 29.7 kB / 1.421 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.7328, allocations: 79.28 kB / 1.421 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/0.7328, allocations: 79.31 kB / 1.421 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.7329, allocations: 162.5 kB / 1.421 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.733, allocations: 83.22 kB / 1.421 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.252e-05/0.7331, allocations: 158.5 kB / 1.421 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.7332, allocations: 79.28 kB / 1.421 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.7333, allocations: 75.28 kB / 1.421 GB, free: 4.629 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.7335, allocations: 272.3 kB / 1.421 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.7336, allocations: 101 kB / 1.422 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.7337, allocations: 115.9 kB / 1.422 GB, free: 4.129 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/0.7338, allocations: 188.2 kB / 1.422 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000107/0.7339, allocations: 176.3 kB / 1.422 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/0.734, allocations: 188.1 kB / 1.422 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.7343, allocations: 401.2 kB / 1.423 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.068e-05/0.7344, allocations: 113.2 kB / 1.423 GB, free: 3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.7345, allocations: 104.9 kB / 1.423 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.973e-05/0.7346, allocations: 184.3 kB / 1.423 GB, free: 2.703 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.7347, allocations: 180.2 kB / 1.423 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000101/0.7348, allocations: 176.3 kB / 1.423 GB, free: 2.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.794e-05/0.7349, allocations: 180.3 kB / 1.423 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.7351, allocations: 312 kB / 1.424 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.7352, allocations: 190 kB / 1.424 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.7354, allocations: 188.2 kB / 1.424 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.7355, allocations: 105 kB / 1.424 GB, free: 1.316 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.7356, allocations: 184.2 kB / 1.424 GB, free: 1.129 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.7357, allocations: 101 kB / 1.424 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.7358, allocations: 83.27 kB / 1.425 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7358, allocations: 0 / 1.425 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002733/0.736, allocations: 4 kB / 1.425 GB, free: 0.9375 MB / 0.9167 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 (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.0002105/0.7363, allocations: 174.5 kB / 1.425 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.429e-05/0.7363, allocations: 11.94 kB / 1.425 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7364, allocations: 0 / 1.425 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.7364, allocations: 0 / 1.425 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.7368, allocations: 0.5232 MB / 1.425 GB, free: 224 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.7372, allocations: 164 kB / 1.425 GB, free: 28 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6828/1.42, allocations: 0.6775 MB / 1.426 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.051e-05/1.42, allocations: 3.656 kB / 1.426 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/1.42, allocations: 11.27 kB / 1.426 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.663e-06/1.42, allocations: 0 / 1.426 GB, free: 195.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.003273/1.423, allocations: 456.4 kB / 1.427 GB, free: 195.5 MB / 0.9167 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