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.483/1.483, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 172.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0008808/0.000881, allocations: 86.47 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.701e-05, allocations: 0 / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.404/5.614, allocations: 2.224 GB / 3.115 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/5.614, allocations: 92.81 kB / 3.116 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.134/10.75, allocations: 1.404 GB / 4.519 GB, free: 47.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.124e-06/10.75, allocations: 0 / 4.519 GB, free: 47.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001249/10.75, allocations: 43.92 kB / 4.519 GB, free: 47.75 MB / 0.9011 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.004913/10.75, allocations: 1.884 MB / 4.521 GB, free: 45.82 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/10.75, allocations: 12.02 kB / 4.521 GB, free: 45.81 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/10.76, allocations: 0.4898 MB / 4.522 GB, free: 45.32 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/10.76, allocations: 1.225 MB / 4.523 GB, free: 44.04 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008442/10.76, allocations: 277.8 kB / 4.523 GB, free: 43.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/10.76, allocations: 107.9 kB / 4.523 GB, free: 43.66 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/10.76, allocations: 1.192 MB / 4.524 GB, free: 42.37 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/10.76, allocations: 3.938 kB / 4.524 GB, free: 42.37 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/10.76, allocations: 47.98 kB / 4.524 GB, free: 42.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/10.76, allocations: 45.98 kB / 4.525 GB, free: 42.27 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/10.76, allocations: 0.8354 MB / 4.525 GB, free: 41.44 MB / 0.9011 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.006259/10.77, allocations: 6.715 MB / 4.532 GB, free: 34.26 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/10.77, allocations: 419.8 kB / 4.532 GB, free: 33.84 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/10.77, allocations: 201.3 kB / 4.532 GB, free: 33.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/10.77, allocations: 287.5 kB / 4.533 GB, free: 33.31 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/10.77, allocations: 38.78 kB / 4.533 GB, free: 33.26 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/10.77, allocations: 0 / 4.533 GB, free: 33.26 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001078/10.77, allocations: 0.5019 MB / 4.533 GB, free: 32.75 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/10.77, allocations: 55.41 kB / 4.533 GB, free: 32.69 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/10.77, allocations: 1.142 MB / 4.534 GB, free: 31.54 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/10.77, allocations: 41.7 kB / 4.534 GB, free: 31.49 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/10.77, allocations: 0.6717 MB / 4.535 GB, free: 30.81 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/10.77, allocations: 122.3 kB / 4.535 GB, free: 30.69 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/10.77, allocations: 12 kB / 4.535 GB, free: 30.68 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/10.77, allocations: 333.9 kB / 4.536 GB, free: 30.35 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/10.77, allocations: 205.5 kB / 4.536 GB, free: 30.15 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/10.77, allocations: 0.5622 MB / 4.536 GB, free: 29.42 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/10.77, allocations: 281.8 kB / 4.537 GB, free: 29.14 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/10.78, allocations: 0 / 4.537 GB, free: 29.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001055/10.78, allocations: 0.8118 MB / 4.537 GB, free: 28.33 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007599/10.78, allocations: 3.813 MB / 4.541 GB, free: 24.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/10.78, allocations: 12 kB / 4.541 GB, free: 24.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/10.78, allocations: 12 kB / 4.541 GB, free: 24.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/10.78, allocations: 215.6 kB / 4.541 GB, free: 24.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/10.78, allocations: 19.94 kB / 4.541 GB, free: 24.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/10.78, allocations: 238.7 kB / 4.542 GB, free: 23.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/10.78, allocations: 39.98 kB / 4.542 GB, free: 23.76 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/10.78, allocations: 9.516 kB / 4.542 GB, free: 23.75 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009378/10.78, allocations: 0.6591 MB / 4.542 GB, free: 23.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/10.78, allocations: 12 kB / 4.542 GB, free: 23.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/10.78, allocations: 12 kB / 4.542 GB, free: 23.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/10.78, allocations: 216.5 kB / 4.543 GB, free: 22.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/10.78, allocations: 15.94 kB / 4.543 GB, free: 22.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/10.78, allocations: 207 kB / 4.543 GB, free: 22.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/10.78, allocations: 40.17 kB / 4.543 GB, free: 22.6 MB / 0.9011 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.0001764/10.78, allocations: 152.7 kB / 4.543 GB, free: 22.44 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/10.78, allocations: 142.3 kB / 4.543 GB, free: 22.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009881/10.78, allocations: 0.5159 MB / 4.544 GB, free: 21.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/10.78, allocations: 4 kB / 4.544 GB, free: 21.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/10.78, allocations: 0 / 4.544 GB, free: 21.77 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/10.78, allocations: 3.984 kB / 4.544 GB, free: 21.77 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/10.79, allocations: 1.763 MB / 4.545 GB, free: 19.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/10.79, allocations: 4 kB / 4.545 GB, free: 19.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/10.79, allocations: 107.9 kB / 4.545 GB, free: 19.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/10.79, allocations: 8 kB / 4.545 GB, free: 19.78 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/10.79, allocations: 19.92 kB / 4.545 GB, free: 19.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/10.79, allocations: 11.95 kB / 4.545 GB, free: 19.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/10.79, allocations: 4 kB / 4.545 GB, free: 19.75 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/10.79, allocations: 0.8917 MB / 4.546 GB, free: 18.68 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/10.79, allocations: 291.2 kB / 4.547 GB, free: 18.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/10.79, allocations: 8 kB / 4.547 GB, free: 18.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/10.79, allocations: 107.9 kB / 4.547 GB, free: 18.27 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/10.79, allocations: 35.92 kB / 4.547 GB, free: 18.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/10.79, allocations: 23.97 kB / 4.547 GB, free: 18.21 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001002/10.79, allocations: 0.872 MB / 4.548 GB, free: 17.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/10.79, allocations: 7.875 kB / 4.548 GB, free: 17.33 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002874/10.79, allocations: 0.8739 MB / 4.548 GB, free: 16.45 MB / 0.9011 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.004314/10.8, allocations: 3.14 MB / 4.552 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001443/10.8, allocations: 0.8713 MB / 4.552 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/10.8, allocations: 0 / 4.552 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/10.8, allocations: 201.1 kB / 4.553 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/10.8, allocations: 0.6146 MB / 4.553 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/10.81, allocations: 1.671 MB / 4.555 GB, free: 9.535 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/10.81, allocations: 1.215 MB / 4.556 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001858/10.81, allocations: 474.4 kB / 4.556 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/10.81, allocations: 71.36 kB / 4.557 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of SimCode: time 5.21e-07/10.81, allocations: 4 kB / 4.557 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of Templates: time 0.7231/11.53, allocations: 64.48 MB / 4.619 GB, free: 122.8 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