Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001097/0.001097, allocations: 172.9 kB / 487.4 MB, free: 5.051 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.678/1.678, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009866, allocations: 103.8 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.705e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3217, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.619/5.94, allocations: 1.951 GB / 3.157 GB, free: 400.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/5.941, allocations: 95.45 kB / 3.157 GB, free: 400.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.135/11.08, allocations: 1.453 GB / 4.61 GB, free: 183.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.323e-06/11.08, allocations: 0 / 4.61 GB, free: 183.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001379/11.08, allocations: 40.52 kB / 4.61 GB, free: 183.8 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.005315/11.08, allocations: 1.894 MB / 4.612 GB, free: 183 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/11.08, allocations: 10.62 kB / 4.612 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/11.08, allocations: 0.5089 MB / 4.612 GB, free: 182.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/11.09, allocations: 1.223 MB / 4.614 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008612/11.09, allocations: 242.9 kB / 4.614 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/11.09, allocations: 62.09 kB / 4.614 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001338/11.09, allocations: 0.704 MB / 4.614 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/11.09, allocations: 1.048 MB / 4.616 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/11.09, allocations: 10.38 kB / 4.616 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/11.09, allocations: 3.969 kB / 4.616 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/11.09, allocations: 43.88 kB / 4.616 GB, free: 182.3 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.007411/11.1, allocations: 6.399 MB / 4.622 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008803/11.1, allocations: 457.6 kB / 4.622 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/11.1, allocations: 178.2 kB / 4.622 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/11.1, allocations: 289.3 kB / 4.623 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/11.1, allocations: 38.66 kB / 4.623 GB, free: 177.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.055e-06/11.1, allocations: 2.875 kB / 4.623 GB, free: 177.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001236/11.1, allocations: 485.7 kB / 4.623 GB, free: 177.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/11.1, allocations: 55.34 kB / 4.623 GB, free: 177.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/11.1, allocations: 0.8277 MB / 4.624 GB, free: 177.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.947e-05/11.1, allocations: 29.42 kB / 4.624 GB, free: 177.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/11.1, allocations: 0.7025 MB / 4.625 GB, free: 177.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/11.1, allocations: 110.1 kB / 4.625 GB, free: 177.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/11.1, allocations: 0 / 4.625 GB, free: 177.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/11.1, allocations: 333.2 kB / 4.625 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/11.1, allocations: 187.7 kB / 4.625 GB, free: 176.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/11.1, allocations: 0.5469 MB / 4.626 GB, free: 176.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/11.1, allocations: 301 kB / 4.626 GB, free: 176.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/11.1, allocations: 7.703 kB / 4.626 GB, free: 176.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001186/11.11, allocations: 0.7405 MB / 4.627 GB, free: 176.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009705/11.11, allocations: 4.101 MB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/11.11, allocations: 11.75 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/11.11, allocations: 15.59 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008464/11.11, allocations: 213.6 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/11.11, allocations: 17.05 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/11.11, allocations: 177.6 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/11.11, allocations: 44.14 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/11.11, allocations: 6.531 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/11.11, allocations: 0.6115 MB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/11.11, allocations: 13.77 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/11.11, allocations: 15.34 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/11.11, allocations: 209.3 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/11.11, allocations: 21.55 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/11.11, allocations: 143.9 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/11.11, allocations: 47.19 kB / 4.632 GB, free: 171.9 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.0002093/11.11, allocations: 126.3 kB / 4.633 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/11.11, allocations: 112.2 kB / 4.633 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/11.11, allocations: 491.1 kB / 4.633 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/11.11, allocations: 6.344 kB / 4.633 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/11.11, allocations: 3.719 kB / 4.633 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/11.11, allocations: 0 / 4.633 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/11.12, allocations: 1.659 MB / 4.635 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/11.12, allocations: 3.906 kB / 4.635 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/11.12, allocations: 109 kB / 4.635 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/11.12, allocations: 7.875 kB / 4.635 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/11.12, allocations: 7.859 kB / 4.635 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/11.12, allocations: 7.75 kB / 4.635 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/11.12, allocations: 6.188 kB / 4.635 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/11.12, allocations: 0.8392 MB / 4.636 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/11.12, allocations: 260.7 kB / 4.636 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/11.12, allocations: 5.594 kB / 4.636 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/11.12, allocations: 116 kB / 4.636 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/11.12, allocations: 31.95 kB / 4.636 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/11.12, allocations: 19.36 kB / 4.636 GB, free: 170.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007827/11.12, allocations: 0.6186 MB / 4.637 GB, free: 170.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/11.12, allocations: 3.938 kB / 4.637 GB, free: 170.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002967/11.12, allocations: 0.8156 MB / 4.638 GB, free: 170.2 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.004959/11.13, allocations: 3.488 MB / 4.641 GB, free: 168.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001612/11.13, allocations: 0.7938 MB / 4.642 GB, free: 168.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/11.13, allocations: 0 / 4.642 GB, free: 168.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/11.13, allocations: 182.5 kB / 4.642 GB, free: 168.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/11.13, allocations: 391.6 kB / 4.642 GB, free: 168.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/11.14, allocations: 1.609 MB / 4.644 GB, free: 168.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/11.14, allocations: 1.211 MB / 4.645 GB, free: 167.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001859/11.14, allocations: 375.2 kB / 4.645 GB, free: 167.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/11.14, allocations: 62.61 kB / 4.645 GB, free: 167.4 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/11.14, allocations: 0 / 4.645 GB, free: 167.4 MB / 1.167 GB Notification: Performance of Templates: time 0.0518/11.19, allocations: 32.95 MB / 4.678 GB, free: 159.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches