Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, 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.001198/0.001198, allocations: 189 kB / 326.5 MB, free: 2.262 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.905/1.905, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009578/0.0009579, allocations: 94.41 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 11.8 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.4148, allocations: 130.9 MB / 1.028 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.415, allocations: 67.95 kB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001042/0.4161, allocations: 488.9 kB / 1.028 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4161, allocations: 0 / 1.028 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.036e-06/0.4161, allocations: 0 / 1.028 GB, free: 12.37 MB / 0.6823 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.0002929/0.4164, allocations: 327.3 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4165, allocations: 12.03 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.4165, allocations: 0 / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.4167, allocations: 183 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.4168, allocations: 4 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.4168, allocations: 3.906 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.514e-05/0.4169, allocations: 29.7 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.4169, allocations: 0 / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.4169, allocations: 0 / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4169, allocations: 3.938 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.4169, allocations: 11.92 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.4171, allocations: 157.7 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.4172, allocations: 22.58 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.4172, allocations: 0 / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4172, allocations: 30.56 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.4172, allocations: 0 / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.4174, allocations: 45.69 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.4174, allocations: 55.41 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.4175, allocations: 105.1 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.4175, allocations: 29.7 kB / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.4175, allocations: 84.12 kB / 1.029 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4176, allocations: 11.92 kB / 1.029 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.4176, allocations: 0 / 1.029 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4177, allocations: 314.8 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.4177, allocations: 4 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.4177, allocations: 17.7 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.067e-05/0.4178, allocations: 8.062 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4178, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.17e-05/0.4178, allocations: 57.48 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4179, allocations: 6.188 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.4179, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4179, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.418, allocations: 4 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.418, allocations: 3.938 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.418, allocations: 4 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.4181, allocations: 8.047 kB / 1.03 GB, free: 10.64 MB / 0.6823 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 6.787e-05/0.4181, allocations: 109.8 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.4181, allocations: 3.953 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.4183, allocations: 48.75 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4183, allocations: 7.984 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4183, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4183, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.4184, allocations: 153.7 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4184, allocations: 4.031 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.4185, allocations: 7.984 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4185, allocations: 3.953 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.4185, allocations: 0 / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4185, allocations: 0 / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4185, allocations: 0 / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4186, allocations: 84.95 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.4187, allocations: 77.11 kB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.4187, allocations: 15.98 kB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.4187, allocations: 4.031 kB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.4188, allocations: 0 / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.4188, allocations: 0 / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.4188, allocations: 91.27 kB / 1.03 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4188, allocations: 0 / 1.03 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001804/0.419, allocations: 4 kB / 1.03 GB, free: 9.934 MB / 0.6823 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.000122/0.4191, allocations: 99.25 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.337e-05/0.4192, allocations: 19.92 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4192, allocations: 0 / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.4192, allocations: 8 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.993e-05/0.4194, allocations: 6.234 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.4196, allocations: 120.6 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.4199, allocations: 0.6809 MB / 1.031 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.4199, allocations: 4.188 kB / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.42, allocations: 11.44 kB / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.42, allocations: 0 / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.001935/0.4219, allocations: 304.4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example5.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches