Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 182.8 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 97.84 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 9.062 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2507, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.514/5.764, allocations: 2.224 GB / 3.124 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/5.765, allocations: 91.3 kB / 3.124 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.219/10.98, allocations: 1.405 GB / 4.529 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.964e-06/10.98, allocations: 0 / 4.529 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001247/10.98, allocations: 37.27 kB / 4.529 GB, free: 123.1 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006381/10.99, allocations: 2.134 MB / 4.531 GB, free: 122.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/10.99, allocations: 7.781 kB / 4.531 GB, free: 122.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/10.99, allocations: 0.489 MB / 4.532 GB, free: 122.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003284/11, allocations: 1.236 MB / 4.533 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008594/11, allocations: 276.5 kB / 4.533 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/11, allocations: 107.5 kB / 4.533 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/11, allocations: 1.325 MB / 4.535 GB, free: 121.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/11, allocations: 3.656 kB / 4.535 GB, free: 121.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/11, allocations: 52.23 kB / 4.535 GB, free: 121.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/11, allocations: 46.23 kB / 4.535 GB, free: 121.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/11, allocations: 1.072 MB / 4.536 GB, free: 121.9 MB / 0.9167 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.008021/11.01, allocations: 6.713 MB / 4.542 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/11.01, allocations: 0.6333 MB / 4.543 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/11.01, allocations: 287.4 kB / 4.543 GB, free: 117.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/11.01, allocations: 39.72 kB / 4.543 GB, free: 117.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 3.326e-06/11.01, allocations: 0 / 4.543 GB, free: 117.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.002507/11.02, allocations: 0.8959 MB / 4.544 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/11.02, allocations: 54.38 kB / 4.544 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/11.02, allocations: 1.192 MB / 4.545 GB, free: 117 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/11.02, allocations: 35.58 kB / 4.545 GB, free: 117 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/11.02, allocations: 0.6729 MB / 4.546 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/11.02, allocations: 127.3 kB / 4.546 GB, free: 116.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/11.02, allocations: 13.31 kB / 4.546 GB, free: 116.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/11.02, allocations: 335.3 kB / 4.546 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007993/11.02, allocations: 323.1 kB / 4.547 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009998/11.02, allocations: 0.6801 MB / 4.547 GB, free: 116 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/11.02, allocations: 398.3 kB / 4.548 GB, free: 116 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/11.02, allocations: 6.344 kB / 4.548 GB, free: 116 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002518/11.02, allocations: 1.047 MB / 4.549 GB, free: 115.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001161/11.02, allocations: 3.815 MB / 4.553 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/11.02, allocations: 7.062 kB / 4.553 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/11.02, allocations: 18.28 kB / 4.553 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/11.03, allocations: 213.2 kB / 4.553 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/11.03, allocations: 17.08 kB / 4.553 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/11.03, allocations: 240.6 kB / 4.553 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/11.03, allocations: 41.56 kB / 4.553 GB, free: 112 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/11.03, allocations: 3.875 kB / 4.553 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002209/11.03, allocations: 0.8964 MB / 4.554 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/11.03, allocations: 9.906 kB / 4.554 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/11.03, allocations: 18.64 kB / 4.554 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/11.03, allocations: 215.7 kB / 4.554 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/11.03, allocations: 17.72 kB / 4.554 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/11.03, allocations: 210 kB / 4.554 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/11.03, allocations: 41.27 kB / 4.554 GB, free: 111.9 MB / 0.9167 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.0009281/11.03, allocations: 414.9 kB / 4.555 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/11.03, allocations: 136.6 kB / 4.555 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/11.04, allocations: 0.6915 MB / 4.556 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/11.04, allocations: 7.828 kB / 4.556 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/11.04, allocations: 0 / 4.556 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/11.04, allocations: 0 / 4.556 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/11.04, allocations: 1.927 MB / 4.558 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/11.04, allocations: 3.875 kB / 4.558 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/11.04, allocations: 107 kB / 4.558 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/11.04, allocations: 5.312 kB / 4.558 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/11.04, allocations: 11.34 kB / 4.558 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/11.04, allocations: 11.62 kB / 4.558 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/11.04, allocations: 7.719 kB / 4.558 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/11.04, allocations: 1.049 MB / 4.559 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007516/11.04, allocations: 290.2 kB / 4.559 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/11.04, allocations: 12.62 kB / 4.559 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/11.04, allocations: 107.5 kB / 4.559 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/11.04, allocations: 42.92 kB / 4.559 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/11.04, allocations: 25.78 kB / 4.559 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002046/11.05, allocations: 0.9222 MB / 4.56 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.11e-07/11.05, allocations: 0 / 4.56 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003781/11.05, allocations: 0.8742 MB / 4.561 GB, free: 110.2 MB / 0.9167 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.004993/11.05, allocations: 3.142 MB / 4.564 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002948/11.06, allocations: 1.143 MB / 4.565 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.619e-06/11.06, allocations: 0 / 4.565 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/11.06, allocations: 277.7 kB / 4.565 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/11.06, allocations: 0.6193 MB / 4.566 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/11.07, allocations: 2.66 MB / 4.569 GB, free: 107.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/11.07, allocations: 1.202 MB / 4.57 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001779/11.07, allocations: 348.1 kB / 4.57 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/11.07, allocations: 89.03 kB / 4.57 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.433e-06/11.07, allocations: 1.719 kB / 4.57 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.08007/11.15, allocations: 54.84 MB / 4.624 GB, free: 105 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches