Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.208/2.208, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.0009974/0.0009974, allocations: 188.8 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.000908/0.000908, allocations: 87.97 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.615e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2967, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.588/5.885, allocations: 1.952 GB / 3.171 GB, free: 361.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/5.886, allocations: 92.08 kB / 3.171 GB, free: 361 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.59/11.48, allocations: 1.469 GB / 4.64 GB, free: 183.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.957e-06/11.48, allocations: 0 / 4.64 GB, free: 183.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002752/11.48, allocations: 41.77 kB / 4.64 GB, free: 183.7 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007608/11.48, allocations: 1.891 MB / 4.642 GB, free: 182.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/11.48, allocations: 7.438 kB / 4.642 GB, free: 182.8 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/11.49, allocations: 0.5088 MB / 4.642 GB, free: 182.7 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/11.49, allocations: 1.232 MB / 4.643 GB, free: 182.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009258/11.49, allocations: 277 kB / 4.644 GB, free: 182.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/11.49, allocations: 106.8 kB / 4.644 GB, free: 182.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/11.5, allocations: 1.19 MB / 4.645 GB, free: 182 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/11.5, allocations: 3.781 kB / 4.645 GB, free: 182 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/11.5, allocations: 45.08 kB / 4.645 GB, free: 182 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/11.5, allocations: 43.05 kB / 4.645 GB, free: 182 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/11.5, allocations: 0.837 MB / 4.646 GB, free: 182 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009932/11.51, allocations: 6.654 MB / 4.652 GB, free: 177.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/11.51, allocations: 415.9 kB / 4.653 GB, free: 177.8 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/11.51, allocations: 198.8 kB / 4.653 GB, free: 177.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/11.51, allocations: 289.5 kB / 4.653 GB, free: 177.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/11.51, allocations: 38.69 kB / 4.653 GB, free: 177.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=33): time 3.858e-06/11.51, allocations: 0 / 4.653 GB, free: 177.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=33): time 0.001583/11.51, allocations: 0.4937 MB / 4.654 GB, free: 177.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/11.51, allocations: 62.08 kB / 4.654 GB, free: 177.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/11.51, allocations: 1.142 MB / 4.655 GB, free: 176.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/11.51, allocations: 37.58 kB / 4.655 GB, free: 176.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.000632/11.52, allocations: 0.6836 MB / 4.656 GB, free: 176.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/11.52, allocations: 114.2 kB / 4.656 GB, free: 176 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/11.52, allocations: 18.16 kB / 4.656 GB, free: 176 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001116/11.52, allocations: 329.8 kB / 4.656 GB, free: 175.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/11.52, allocations: 207.7 kB / 4.656 GB, free: 175.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/11.52, allocations: 0.5376 MB / 4.657 GB, free: 175.1 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/11.52, allocations: 285.6 kB / 4.657 GB, free: 175 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/11.52, allocations: 7.219 kB / 4.657 GB, free: 175 MB / 1.182 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001627/11.52, allocations: 0.8184 MB / 4.658 GB, free: 174.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001263/11.52, allocations: 3.818 MB / 4.662 GB, free: 170.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/11.52, allocations: 9.656 kB / 4.662 GB, free: 170.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.67e-05/11.52, allocations: 14.84 kB / 4.662 GB, free: 170.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008947/11.52, allocations: 202.2 kB / 4.662 GB, free: 170.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/11.52, allocations: 22.12 kB / 4.662 GB, free: 170.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/11.52, allocations: 240.5 kB / 4.662 GB, free: 170.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/11.52, allocations: 44.08 kB / 4.662 GB, free: 170.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/11.52, allocations: 4.438 kB / 4.662 GB, free: 170.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/11.52, allocations: 0.6723 MB / 4.663 GB, free: 170.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/11.52, allocations: 10.72 kB / 4.663 GB, free: 170.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/11.52, allocations: 16.06 kB / 4.663 GB, free: 170.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/11.52, allocations: 203.9 kB / 4.663 GB, free: 170.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/11.52, allocations: 22.89 kB / 4.663 GB, free: 170.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/11.53, allocations: 213.4 kB / 4.663 GB, free: 170.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/11.53, allocations: 37.34 kB / 4.663 GB, free: 170.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.000256/11.53, allocations: 151.7 kB / 4.663 GB, free: 170.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/11.53, allocations: 134 kB / 4.663 GB, free: 170.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/11.53, allocations: 0.5134 MB / 4.664 GB, free: 169.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/11.53, allocations: 3.562 kB / 4.664 GB, free: 169.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/11.53, allocations: 3.156 kB / 4.664 GB, free: 169.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/11.53, allocations: 3.469 kB / 4.664 GB, free: 169.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/11.53, allocations: 1.774 MB / 4.666 GB, free: 168.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/11.53, allocations: 3.781 kB / 4.666 GB, free: 168.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/11.53, allocations: 105.7 kB / 4.666 GB, free: 168.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/11.53, allocations: 3.719 kB / 4.666 GB, free: 168.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/11.53, allocations: 14.47 kB / 4.666 GB, free: 168.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/11.53, allocations: 7.406 kB / 4.666 GB, free: 168.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/11.53, allocations: 7.875 kB / 4.666 GB, free: 168.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/11.53, allocations: 0.8883 MB / 4.667 GB, free: 168.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/11.53, allocations: 293.2 kB / 4.667 GB, free: 167.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/11.54, allocations: 14.05 kB / 4.667 GB, free: 167.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/11.54, allocations: 109.6 kB / 4.667 GB, free: 167.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/11.54, allocations: 36.44 kB / 4.667 GB, free: 167.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/11.54, allocations: 25.19 kB / 4.667 GB, free: 167.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001533/11.54, allocations: 0.8792 MB / 4.668 GB, free: 167.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.51e-07/11.54, allocations: 0 / 4.668 GB, free: 167.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003751/11.54, allocations: 0.8727 MB / 4.669 GB, free: 167.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.005932/11.55, allocations: 3.148 MB / 4.672 GB, free: 165.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001941/11.55, allocations: 0.8731 MB / 4.673 GB, free: 165.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/11.55, allocations: 11.14 kB / 4.673 GB, free: 165.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/11.55, allocations: 186 kB / 4.673 GB, free: 165.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/11.55, allocations: 0.6126 MB / 4.674 GB, free: 165.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/11.56, allocations: 1.682 MB / 4.675 GB, free: 164.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/11.56, allocations: 1.217 MB / 4.676 GB, free: 163.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002612/11.56, allocations: 474.9 kB / 4.677 GB, free: 163.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/11.56, allocations: 71.09 kB / 4.677 GB, free: 163.8 MB / 1.182 GB Notification: Performance of SimCode: time 2.074e-06/11.56, allocations: 0 / 4.677 GB, free: 163.8 MB / 1.182 GB Notification: Performance of Templates: time 0.08959/11.65, allocations: 64.58 MB / 4.74 GB, free: 109.9 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches