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.496/2.496, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00137/0.00137, allocations: 183.2 kB / 498.1 MB, free: 5.746 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.608/1.608, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009972/0.000997, allocations: 103.8 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003908, allocations: 11.16 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.5233, allocations: 148.4 MB / 1.368 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.5235, allocations: 67.95 kB / 1.368 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001115/0.5246, allocations: 489.4 kB / 1.368 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5247, allocations: 0 / 1.368 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5247, allocations: 4 kB / 1.368 GB, free: 13.15 MB / 0.8698 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.0003479/0.525, allocations: 327.3 kB / 1.369 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5251, allocations: 8.031 kB / 1.369 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.5251, allocations: 4 kB / 1.369 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.5254, allocations: 183 kB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5254, allocations: 0 / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.5254, allocations: 0 / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.035e-05/0.5255, allocations: 33.64 kB / 1.369 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5255, allocations: 0 / 1.369 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.5255, allocations: 0 / 1.369 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5255, allocations: 4 kB / 1.369 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.5256, allocations: 3.984 kB / 1.369 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.5258, allocations: 161.7 kB / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/0.5258, allocations: 18.58 kB / 1.369 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.5258, allocations: 0 / 1.369 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.5259, allocations: 41.23 kB / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.5259, allocations: 0 / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.526, allocations: 45.73 kB / 1.369 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5261, allocations: 51.53 kB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.5262, allocations: 105 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.5262, allocations: 25.7 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.5262, allocations: 84.14 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.5263, allocations: 7.906 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.5263, allocations: 0 / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5264, allocations: 314.8 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.5264, allocations: 11.88 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.5265, allocations: 21.66 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.5265, allocations: 15.94 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5265, allocations: 0 / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.692e-05/0.5266, allocations: 41.69 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5266, allocations: 4 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.5266, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5266, allocations: 4 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.5267, allocations: 3.938 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5267, allocations: 8.125 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.5268, allocations: 0 / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.5268, allocations: 0 / 1.37 GB, free: 11.44 MB / 0.8698 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 () * Number of clocked 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 7.89e-05/0.5268, allocations: 121.8 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.5269, allocations: 3.906 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.527, allocations: 48.81 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.527, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.527, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.527, allocations: 32 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.5271, allocations: 153.7 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.5271, allocations: 4.203 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.5272, allocations: 15.92 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5272, allocations: 0 / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.5272, allocations: 0 / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5272, allocations: 4 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5272, allocations: 0 / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.5274, allocations: 77.12 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.5274, allocations: 85.05 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.5274, allocations: 4.031 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.5275, allocations: 0 / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.5275, allocations: 0 / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.5275, allocations: 0 / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.5276, allocations: 91.27 kB / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5276, allocations: 0 / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001735/0.5277, allocations: 4 kB / 1.37 GB, free: 10.73 MB / 0.8698 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 () * Number of clocked 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.0001413/0.5279, allocations: 115 kB / 1.37 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.921e-05/0.528, allocations: 15.92 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.528, allocations: 0 / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.528, allocations: 12 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.5281, allocations: 3.938 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.5284, allocations: 120.6 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.5287, allocations: 0.685 MB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.599e-05/0.5287, allocations: 3.938 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.5287, allocations: 11.44 kB / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of SimCode: time 1.753e-06/0.5287, allocations: 0 / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of Templates: time 0.00202/0.5308, allocations: 296.4 kB / 1.372 GB, free: 9.414 MB / 0.8698 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