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.369/2.369, allocations: 390.5 MB / 398 MB, free: 10.96 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.001047/0.001047, allocations: 172.9 kB / 491.2 MB, free: 1.551 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.789/1.789, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001232/0.001232, allocations: 91.58 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.118e-05, allocations: 7.25 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2756, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.691/5.967, allocations: 1.952 GB / 3.164 GB, free: 318.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/5.967, allocations: 87.27 kB / 3.164 GB, free: 318.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.568/11.54, allocations: 1.453 GB / 4.617 GB, free: 164.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/11.54, allocations: 3.344 kB / 4.617 GB, free: 164.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002579/11.54, allocations: 38.48 kB / 4.617 GB, free: 164.2 MB / 1.167 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.008567/11.54, allocations: 1.896 MB / 4.619 GB, free: 162.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.955e-05/11.54, allocations: 11.16 kB / 4.619 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/11.55, allocations: 0.5081 MB / 4.619 GB, free: 162.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/11.55, allocations: 1.225 MB / 4.621 GB, free: 161.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008867/11.55, allocations: 235.8 kB / 4.621 GB, free: 161 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/11.55, allocations: 62.31 kB / 4.621 GB, free: 161 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001856/11.55, allocations: 0.7107 MB / 4.622 GB, free: 160.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/11.56, allocations: 1.052 MB / 4.623 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/11.56, allocations: 3.938 kB / 4.623 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/11.56, allocations: 4 kB / 4.623 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-05/11.56, allocations: 53.58 kB / 4.623 GB, free: 159.1 MB / 1.167 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.008588/11.57, allocations: 6.389 MB / 4.629 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/11.57, allocations: 470.3 kB / 4.629 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/11.57, allocations: 177.4 kB / 4.63 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003665/11.57, allocations: 286.5 kB / 4.63 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/11.57, allocations: 34.84 kB / 4.63 GB, free: 151.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 6.192e-06/11.57, allocations: 0 / 4.63 GB, free: 151.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001308/11.57, allocations: 0.4884 MB / 4.63 GB, free: 150.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/11.57, allocations: 55.41 kB / 4.63 GB, free: 150.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/11.57, allocations: 0.8307 MB / 4.631 GB, free: 149.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/11.57, allocations: 36.95 kB / 4.631 GB, free: 149.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/11.57, allocations: 0.7001 MB / 4.632 GB, free: 149.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/11.57, allocations: 110.4 kB / 4.632 GB, free: 149.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/11.57, allocations: 0 / 4.632 GB, free: 149.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001178/11.57, allocations: 330 kB / 4.632 GB, free: 148.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/11.57, allocations: 189.5 kB / 4.633 GB, free: 148.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/11.57, allocations: 0.5522 MB / 4.633 GB, free: 147.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/11.57, allocations: 287.9 kB / 4.633 GB, free: 147.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/11.57, allocations: 4 kB / 4.633 GB, free: 147.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001089/11.57, allocations: 0.7493 MB / 4.634 GB, free: 146.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001035/11.57, allocations: 4.1 MB / 4.638 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/11.57, allocations: 12 kB / 4.638 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/11.57, allocations: 16 kB / 4.638 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/11.57, allocations: 214.5 kB / 4.638 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/11.58, allocations: 19.92 kB / 4.638 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/11.58, allocations: 177.3 kB / 4.638 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/11.58, allocations: 39.98 kB / 4.639 GB, free: 142 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/11.58, allocations: 7.375 kB / 4.639 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009168/11.58, allocations: 0.6026 MB / 4.639 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/11.58, allocations: 12 kB / 4.639 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/11.58, allocations: 16 kB / 4.639 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/11.58, allocations: 206.1 kB / 4.639 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/11.58, allocations: 19.92 kB / 4.639 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009116/11.58, allocations: 147.8 kB / 4.64 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/11.58, allocations: 47.92 kB / 4.64 GB, free: 141 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0001725/11.58, allocations: 136.6 kB / 4.64 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/11.58, allocations: 110.6 kB / 4.64 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/11.58, allocations: 492.4 kB / 4.64 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/11.58, allocations: 4 kB / 4.64 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/11.58, allocations: 3.625 kB / 4.64 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/11.58, allocations: 7.781 kB / 4.64 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/11.58, allocations: 1.65 MB / 4.642 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/11.58, allocations: 6.875 kB / 4.642 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/11.58, allocations: 107.6 kB / 4.642 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/11.58, allocations: 11.95 kB / 4.642 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/11.58, allocations: 4 kB / 4.642 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/11.58, allocations: 7.938 kB / 4.642 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/11.58, allocations: 4 kB / 4.642 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/11.58, allocations: 0.8406 MB / 4.643 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/11.58, allocations: 259.5 kB / 4.643 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/11.58, allocations: 7.984 kB / 4.643 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008368/11.59, allocations: 101.4 kB / 4.643 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/11.59, allocations: 38.7 kB / 4.643 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/11.59, allocations: 27.97 kB / 4.643 GB, free: 136.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006841/11.59, allocations: 0.6202 MB / 4.644 GB, free: 136.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/11.59, allocations: 0 / 4.644 GB, free: 136.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002641/11.59, allocations: 0.8029 MB / 4.645 GB, free: 135.5 MB / 1.167 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.00454/11.59, allocations: 3.501 MB / 4.648 GB, free: 132.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001242/11.59, allocations: 0.7841 MB / 4.649 GB, free: 131.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/11.59, allocations: 0 / 4.649 GB, free: 131.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/11.59, allocations: 179.2 kB / 4.649 GB, free: 131.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/11.6, allocations: 399.2 kB / 4.649 GB, free: 130.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/11.6, allocations: 1.619 MB / 4.651 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/11.6, allocations: 1.214 MB / 4.652 GB, free: 128 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001605/11.6, allocations: 375.7 kB / 4.653 GB, free: 127.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/11.6, allocations: 59.42 kB / 4.653 GB, free: 127.5 MB / 1.167 GB Notification: Performance of SimCode: time 7.41e-07/11.6, allocations: 0 / 4.653 GB, free: 127.5 MB / 1.167 GB Notification: Performance of Templates: time 0.05008/11.65, allocations: 32.96 MB / 4.685 GB, free: 95.22 MB / 1.167 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