Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 192.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.8 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.34 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2797, allocations: 157.4 MB / 1.052 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002116/0.2818, allocations: 0.59 MB / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.282, allocations: 11.98 kB / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.282, allocations: 0 / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.282, allocations: 0 / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.2822, allocations: 15.86 kB / 1.053 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.587e-06/0.2822, allocations: 0 / 1.053 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.134e-05/0.2823, allocations: 0 / 1.053 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.2823, allocations: 4 kB / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.2824, allocations: 3.984 kB / 1.053 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.2824, allocations: 4 kB / 1.053 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.2824, allocations: 4 kB / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.2825, allocations: 0 / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.2825, allocations: 3.938 kB / 1.053 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.2825, allocations: 0 / 1.053 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.235e-05/0.2825, allocations: 0 / 1.053 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2825, allocations: 0 / 1.053 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2826, allocations: 4 kB / 1.053 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2826, allocations: 0 / 1.053 GB, free: 8.117 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002993/0.2829, allocations: 323.5 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2829, allocations: 16.56 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.2829, allocations: 0.9375 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2831, allocations: 160.4 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2831, allocations: 8.359 kB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2831, allocations: 384 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.2832, allocations: 47.97 kB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2832, allocations: 4.125 kB / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2833, allocations: 3.938 kB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2833, allocations: 4 kB / 1.053 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.2833, allocations: 7.938 kB / 1.053 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.2835, allocations: 154.5 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.2835, allocations: 33.22 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.2836, allocations: 21.78 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.2836, allocations: 4 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2836, allocations: 30.56 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2836, allocations: 0 / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000146/0.2838, allocations: 49.56 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2838, allocations: 81.11 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.2839, allocations: 90.2 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2839, allocations: 29.73 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.2839, allocations: 80.14 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.284, allocations: 20.09 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.284, allocations: 17.72 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2841, allocations: 314.8 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.2842, allocations: 4 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.2842, allocations: 13.72 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.2842, allocations: 25.72 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2842, allocations: 3.938 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.368e-05/0.2843, allocations: 37.69 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2843, allocations: 5.406 kB / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2843, allocations: 11.88 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2844, allocations: 0 / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.2844, allocations: 4 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.2844, allocations: 0 / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.2845, allocations: 4.062 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.2845, allocations: 0 / 1.054 GB, free: 6.277 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.2846, allocations: 119.4 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.2846, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.2847, allocations: 52.69 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2847, allocations: 0 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2847, allocations: 4.062 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2847, allocations: 4 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.2848, allocations: 145.6 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.2848, allocations: 7.984 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.2849, allocations: 0 / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2849, allocations: 4 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2849, allocations: 3.938 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2849, allocations: 0 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2849, allocations: 0 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.424e-05/0.285, allocations: 77.83 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.2851, allocations: 81.11 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2851, allocations: 7.938 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.2851, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.2851, allocations: 4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.2851, allocations: 0 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.2852, allocations: 75.28 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2852, allocations: 4.125 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001933/0.2854, allocations: 4 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.2855, allocations: 95.23 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.2856, allocations: 15.94 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2856, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.2856, allocations: 4 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2858, allocations: 0 / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.286, allocations: 98.17 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2863, allocations: 0.669 MB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.2864, allocations: 7.938 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.2864, allocations: 7.438 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.2864, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of Templates: time 0.002035/0.2884, allocations: 197 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches