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.409/2.409, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001151/0.001151, allocations: 176.9 kB / 492.3 MB, free: 0.6289 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.669/1.669, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008454/0.0008454, allocations: 89.73 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.276e-05/6.28e-05, allocations: 6.578 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4285, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.559/5.987, allocations: 1.951 GB / 3.164 GB, free: 319.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/5.988, allocations: 87.02 kB / 3.164 GB, free: 319.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.077/11.06, allocations: 1.469 GB / 4.633 GB, free: 152.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.563e-06/11.06, allocations: 3.938 kB / 4.633 GB, free: 152.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001133/11.06, allocations: 39.98 kB / 4.633 GB, free: 152.1 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.004692/11.07, allocations: 1.892 MB / 4.635 GB, free: 150.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/11.07, allocations: 8.031 kB / 4.635 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/11.07, allocations: 0.5091 MB / 4.635 GB, free: 149.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/11.07, allocations: 1.23 MB / 4.636 GB, free: 148.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008656/11.08, allocations: 272.6 kB / 4.636 GB, free: 148.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/11.08, allocations: 103.8 kB / 4.637 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/11.08, allocations: 1.193 MB / 4.638 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/11.08, allocations: 7.938 kB / 4.638 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/11.08, allocations: 46.44 kB / 4.638 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/11.08, allocations: 41.98 kB / 4.638 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/11.08, allocations: 0.8314 MB / 4.639 GB, free: 145.8 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.00874/11.09, allocations: 6.658 MB / 4.645 GB, free: 138.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/11.09, allocations: 423.7 kB / 4.646 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/11.09, allocations: 193.3 kB / 4.646 GB, free: 138.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003766/11.09, allocations: 287.2 kB / 4.646 GB, free: 137.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/11.09, allocations: 34.84 kB / 4.646 GB, free: 137.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/11.09, allocations: 0 / 4.646 GB, free: 137.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001164/11.09, allocations: 0.4978 MB / 4.647 GB, free: 137.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/11.09, allocations: 59.39 kB / 4.647 GB, free: 137.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/11.09, allocations: 1.143 MB / 4.648 GB, free: 136.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/11.09, allocations: 33.7 kB / 4.648 GB, free: 136 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/11.09, allocations: 0.6793 MB / 4.648 GB, free: 135.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/11.09, allocations: 122.4 kB / 4.649 GB, free: 135.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/11.09, allocations: 12 kB / 4.649 GB, free: 135.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.23e-05/11.09, allocations: 332.5 kB / 4.649 GB, free: 134.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/11.09, allocations: 205.5 kB / 4.649 GB, free: 134.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/11.09, allocations: 0.5498 MB / 4.65 GB, free: 134 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/11.09, allocations: 286.2 kB / 4.65 GB, free: 133.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/11.09, allocations: 0 / 4.65 GB, free: 133.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001144/11.1, allocations: 0.8196 MB / 4.651 GB, free: 132.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008459/11.1, allocations: 3.812 MB / 4.654 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/11.1, allocations: 12 kB / 4.654 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/11.1, allocations: 16 kB / 4.654 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008395/11.1, allocations: 203.7 kB / 4.655 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/11.1, allocations: 23.92 kB / 4.655 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/11.1, allocations: 234.7 kB / 4.655 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/11.1, allocations: 43.98 kB / 4.655 GB, free: 128.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/11.1, allocations: 4 kB / 4.655 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009315/11.1, allocations: 0.6638 MB / 4.656 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/11.1, allocations: 12 kB / 4.656 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/11.1, allocations: 12 kB / 4.656 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/11.1, allocations: 207.7 kB / 4.656 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/11.1, allocations: 27.86 kB / 4.656 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/11.1, allocations: 203 kB / 4.656 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/11.1, allocations: 47.86 kB / 4.656 GB, free: 127.2 MB / 1.167 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.0002133/11.1, allocations: 146.2 kB / 4.656 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/11.1, allocations: 142.2 kB / 4.656 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/11.1, allocations: 0.5236 MB / 4.657 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/11.1, allocations: 0 / 4.657 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/11.1, allocations: 0 / 4.657 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/11.1, allocations: 7.953 kB / 4.657 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/11.11, allocations: 1.754 MB / 4.659 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/11.11, allocations: 4 kB / 4.659 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/11.11, allocations: 112.2 kB / 4.659 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/11.11, allocations: 4 kB / 4.659 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/11.11, allocations: 16 kB / 4.659 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/11.11, allocations: 4 kB / 4.659 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/11.11, allocations: 7.984 kB / 4.659 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/11.11, allocations: 0.8956 MB / 4.66 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/11.11, allocations: 298.7 kB / 4.66 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/11.11, allocations: 12 kB / 4.66 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009477/11.11, allocations: 111.8 kB / 4.66 GB, free: 122.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/11.11, allocations: 31.92 kB / 4.66 GB, free: 122.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/11.11, allocations: 23.92 kB / 4.66 GB, free: 122.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00109/11.11, allocations: 0.8798 MB / 4.661 GB, free: 121.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/11.11, allocations: 0 / 4.661 GB, free: 121.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003135/11.11, allocations: 0.8701 MB / 4.662 GB, free: 121 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.004484/11.12, allocations: 3.146 MB / 4.665 GB, free: 117.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001586/11.12, allocations: 0.8797 MB / 4.666 GB, free: 116.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/11.12, allocations: 0 / 4.666 GB, free: 116.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/11.12, allocations: 197.9 kB / 4.666 GB, free: 116.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/11.12, allocations: 0.6114 MB / 4.666 GB, free: 116 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/11.13, allocations: 1.689 MB / 4.668 GB, free: 114.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/11.13, allocations: 1.211 MB / 4.669 GB, free: 112.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001928/11.13, allocations: 478.1 kB / 4.67 GB, free: 112.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/11.13, allocations: 63.42 kB / 4.67 GB, free: 112.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.163e-06/11.13, allocations: 4 kB / 4.67 GB, free: 112.4 MB / 1.167 GB Notification: Performance of Templates: time 0.07809/11.21, allocations: 64.58 MB / 4.733 GB, free: 48.23 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