Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 387.4 MB / 394.9 MB, free: 13.39 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: 180.7 kB / 487.4 MB, free: 5.039 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.73/1.73, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.001348/0.001348, allocations: 93.41 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.883e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3305, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.437, allocations: 147.7 MB / 1.35 GB, free: 18.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.438, allocations: 77 kB / 1.35 GB, free: 18.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002247/1.44, allocations: 487.1 kB / 1.351 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.214e-06/1.44, allocations: 0 / 1.351 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.44, allocations: 0 / 1.351 GB, free: 34.25 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000317/1.44, allocations: 314.5 kB / 1.351 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.44, allocations: 12.12 kB / 1.351 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/1.44, allocations: 2.203 kB / 1.351 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/1.441, allocations: 178.8 kB / 1.351 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/1.441, allocations: 0 / 1.351 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/1.441, allocations: 0.7031 kB / 1.351 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.539e-05/1.441, allocations: 8.859 kB / 1.351 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/1.441, allocations: 33.25 kB / 1.351 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.441, allocations: 4 kB / 1.351 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/1.441, allocations: 0.75 kB / 1.351 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.441, allocations: 0 / 1.351 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/1.441, allocations: 137.3 kB / 1.351 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/1.441, allocations: 19.19 kB / 1.351 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/1.441, allocations: 9.453 kB / 1.351 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/1.441, allocations: 3.875 kB / 1.351 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/1.441, allocations: 39.2 kB / 1.351 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.441, allocations: 0 / 1.351 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/1.441, allocations: 44.09 kB / 1.351 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/1.441, allocations: 51.41 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/1.442, allocations: 100.4 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/1.442, allocations: 25.7 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/1.442, allocations: 80.89 kB / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/1.442, allocations: 4.625 kB / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/1.442, allocations: 4.031 kB / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.442, allocations: 315.3 kB / 1.352 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/1.442, allocations: 5.562 kB / 1.352 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/1.442, allocations: 16.03 kB / 1.352 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/1.442, allocations: 5.406 kB / 1.352 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.442, allocations: 0 / 1.352 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.859e-05/1.442, allocations: 60.36 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.442, allocations: 5.844 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.442, allocations: 0.7031 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.442, allocations: 0 / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/1.442, allocations: 4.516 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.442, allocations: 0.75 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/1.442, allocations: 3.875 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/1.442, allocations: 0.7969 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.335e-05/1.442, allocations: 104.9 kB / 1.352 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/1.442, allocations: 8.547 kB / 1.352 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/1.442, allocations: 53.75 kB / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.443, allocations: 0 / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.443, allocations: 3 kB / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.443, allocations: 4.359 kB / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.659e-05/1.443, allocations: 129.4 kB / 1.352 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.443, allocations: 0.5625 kB / 1.352 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/1.443, allocations: 4.375 kB / 1.352 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.443, allocations: 4.547 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/1.443, allocations: 0 / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.443, allocations: 8.594 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.443, allocations: 0 / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/1.443, allocations: 81.28 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/1.443, allocations: 82.22 kB / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/1.443, allocations: 0.5625 kB / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/1.443, allocations: 6.422 kB / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/1.443, allocations: 3.953 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/1.443, allocations: 8.781 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.215e-05/1.443, allocations: 83.59 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.443, allocations: 0 / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001979/1.443, allocations: 8.438 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001573/1.443, allocations: 103.9 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.821e-05/1.444, allocations: 9.922 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.444, allocations: 0 / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/1.444, allocations: 12.03 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/1.444, allocations: 4.938 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/1.444, allocations: 68.7 kB / 1.353 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/1.444, allocations: 0.6824 MB / 1.354 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.996e-05/1.444, allocations: 0.6562 kB / 1.354 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/1.444, allocations: 15.62 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.444, allocations: 0 / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.002337/1.447, allocations: 269.7 kB / 1.354 GB, free: 31.27 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches