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.5/2.5, allocations: 393.5 MB / 408.4 MB, free: 10.88 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.001083/0.001083, allocations: 187.2 kB / 0.4902 GB, free: 2.094 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.676/1.676, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.00117/0.00117, allocations: 92.12 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 9.984 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2785, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.9/5.179, allocations: 1.952 GB / 3.181 GB, free: 332.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/5.179, allocations: 92.14 kB / 3.182 GB, free: 332.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.896/11.07, allocations: 1.47 GB / 4.652 GB, free: 190.1 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.455e-06/11.07, allocations: 0 / 4.652 GB, free: 190.1 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002811/11.08, allocations: 38.16 kB / 4.652 GB, free: 190.1 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.009132/11.08, allocations: 2.135 MB / 4.654 GB, free: 189.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/11.08, allocations: 9.344 kB / 4.654 GB, free: 189.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004245/11.09, allocations: 0.5152 MB / 4.654 GB, free: 189.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/11.09, allocations: 1.234 MB / 4.655 GB, free: 188.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/11.09, allocations: 279 kB / 4.656 GB, free: 188.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005522/11.1, allocations: 100.9 kB / 4.656 GB, free: 188.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/11.1, allocations: 1.321 MB / 4.657 GB, free: 188.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.629e-05/11.1, allocations: 17.45 kB / 4.657 GB, free: 188.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/11.1, allocations: 40.25 kB / 4.657 GB, free: 188.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.95e-05/11.1, allocations: 45.44 kB / 4.657 GB, free: 188.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/11.1, allocations: 1.079 MB / 4.658 GB, free: 188.5 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01165/11.12, allocations: 6.651 MB / 4.665 GB, free: 184.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/11.12, allocations: 0.6293 MB / 4.665 GB, free: 184.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004597/11.12, allocations: 287 kB / 4.666 GB, free: 184.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/11.12, allocations: 37.97 kB / 4.666 GB, free: 184 MB / 1.182 GB Notification: Performance of pre-optimization done (n=33): time 4.698e-06/11.12, allocations: 0 / 4.666 GB, free: 184 MB / 1.182 GB Notification: Performance of matching and sorting (n=33): time 0.002989/11.12, allocations: 0.8893 MB / 4.667 GB, free: 183.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/11.12, allocations: 57.84 kB / 4.667 GB, free: 183.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/11.12, allocations: 1.197 MB / 4.668 GB, free: 183.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/11.12, allocations: 32.58 kB / 4.668 GB, free: 183.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007384/11.12, allocations: 0.6753 MB / 4.668 GB, free: 183.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/11.12, allocations: 125 kB / 4.669 GB, free: 183.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/11.13, allocations: 10.44 kB / 4.669 GB, free: 183.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001141/11.13, allocations: 331.9 kB / 4.669 GB, free: 183.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/11.13, allocations: 329.9 kB / 4.669 GB, free: 183.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/11.13, allocations: 0.6617 MB / 4.67 GB, free: 182.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/11.13, allocations: 402.2 kB / 4.67 GB, free: 182.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/11.13, allocations: 3.781 kB / 4.67 GB, free: 182.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002695/11.13, allocations: 1.047 MB / 4.671 GB, free: 182.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001161/11.13, allocations: 3.812 MB / 4.675 GB, free: 178.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/11.13, allocations: 10.34 kB / 4.675 GB, free: 178.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.475e-05/11.13, allocations: 15.66 kB / 4.675 GB, free: 178.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/11.13, allocations: 210.8 kB / 4.675 GB, free: 178.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/11.13, allocations: 30.69 kB / 4.675 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/11.13, allocations: 235.2 kB / 4.675 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/11.13, allocations: 44.27 kB / 4.675 GB, free: 178.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/11.14, allocations: 3.844 kB / 4.675 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002143/11.14, allocations: 0.9062 MB / 4.676 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/11.14, allocations: 9.656 kB / 4.676 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/11.14, allocations: 14.28 kB / 4.676 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/11.14, allocations: 206.9 kB / 4.677 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/11.14, allocations: 22.03 kB / 4.677 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/11.14, allocations: 204.2 kB / 4.677 GB, free: 178.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/11.14, allocations: 40.38 kB / 4.677 GB, free: 178.5 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 () * Number of clocked 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.001174/11.14, allocations: 417.9 kB / 4.677 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005366/11.14, allocations: 144.3 kB / 4.677 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/11.14, allocations: 0.6774 MB / 4.678 GB, free: 178.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/11.14, allocations: 2.844 kB / 4.678 GB, free: 178.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/11.14, allocations: 7.328 kB / 4.678 GB, free: 178.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/11.14, allocations: 3.516 kB / 4.678 GB, free: 178.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/11.15, allocations: 1.935 MB / 4.68 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/11.15, allocations: 11.42 kB / 4.68 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/11.15, allocations: 106.5 kB / 4.68 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/11.15, allocations: 3.438 kB / 4.68 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/11.15, allocations: 12.62 kB / 4.68 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/11.15, allocations: 11.64 kB / 4.68 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/11.15, allocations: 6.969 kB / 4.68 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/11.15, allocations: 1.051 MB / 4.681 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/11.15, allocations: 289.6 kB / 4.681 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006268/11.15, allocations: 14.28 kB / 4.681 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/11.16, allocations: 106.3 kB / 4.682 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/11.16, allocations: 36.02 kB / 4.682 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/11.16, allocations: 17.86 kB / 4.682 GB, free: 176.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002443/11.16, allocations: 0.9339 MB / 4.682 GB, free: 176.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.3e-07/11.16, allocations: 0 / 4.682 GB, free: 176.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005218/11.16, allocations: 0.8771 MB / 4.683 GB, free: 176.8 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 () * Number of clocked 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.006838/11.17, allocations: 3.136 MB / 4.686 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003891/11.17, allocations: 1.142 MB / 4.688 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/11.17, allocations: 2.125 kB / 4.688 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0007872/11.17, allocations: 283 kB / 4.688 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/11.18, allocations: 0.6231 MB / 4.688 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/11.19, allocations: 2.654 MB / 4.691 GB, free: 174.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/11.19, allocations: 1.21 MB / 4.692 GB, free: 173.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002451/11.19, allocations: 357.6 kB / 4.693 GB, free: 173.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/11.19, allocations: 93.16 kB / 4.693 GB, free: 173.4 MB / 1.182 GB Notification: Performance of SimCode: time 3.877e-06/11.19, allocations: 0 / 4.693 GB, free: 173.4 MB / 1.182 GB Notification: Performance of Templates: time 0.09882/11.29, allocations: 54.91 MB / 4.746 GB, free: 162.3 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