Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 165.6 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.989/0.989, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.875/1.875, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.809e-05, allocations: 3.031 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001045/0.001063, allocations: 0.5419 MB / 0.8133 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.001196, allocations: 41.47 kB / 0.8133 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.001241, allocations: 0 / 0.8133 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.001276, allocations: 0 / 0.8133 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.001401, allocations: 13.56 kB / 0.8133 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.933e-05/0.00144, allocations: 7.984 kB / 0.8134 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.001491, allocations: 4 kB / 0.8134 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.001523, allocations: 4 kB / 0.8134 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.97e-05/0.001573, allocations: 17.44 kB / 0.8134 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.001642, allocations: 11.98 kB / 0.8134 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.001655, allocations: 0 / 0.8134 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.00166, allocations: 0 / 0.8134 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.001698, allocations: 4.75 kB / 0.8134 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.001715, allocations: 0 / 0.8134 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.09e-05/0.001776, allocations: 20.64 kB / 0.8134 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.001777, allocations: 0 / 0.8134 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.6e-07/0.001778, allocations: 1.594 kB / 0.8134 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.001781, allocations: 0 / 0.8134 GB, free: 0.8242 MB / 0.7605 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.0002654/0.002047, allocations: 356.6 kB / 0.8138 GB, free: 448 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.002078, allocations: 12.03 kB / 0.8138 GB, free: 436 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.002103, allocations: 5.469 kB / 0.8138 GB, free: 432 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.002206, allocations: 117.3 kB / 0.8139 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.002214, allocations: 4.312 kB / 0.8139 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.002226, allocations: 4.906 kB / 0.8139 GB, free: 280 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.662e-05/0.002272, allocations: 27.92 kB / 0.8139 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.002279, allocations: 192 / 0.8139 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.002285, allocations: 384 / 0.8139 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.002289, allocations: 384 / 0.8139 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.112e-05/0.0023, allocations: 12.47 kB / 0.8139 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.084e-05/0.002381, allocations: 97.28 kB / 0.814 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 2.885e-05/0.00241, allocations: 27.59 kB / 0.814 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-06/0.002419, allocations: 8.469 kB / 0.8141 GB, free: 60 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.002428, allocations: 0 / 0.8141 GB, free: 60 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.002445, allocations: 38.61 kB / 0.8141 GB, free: 12 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.002446, allocations: 0 / 0.8141 GB, free: 12 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 9.781e-05/0.002544, allocations: 39.06 kB / 0.8141 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.002568, allocations: 51.41 kB / 0.8142 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.002638, allocations: 165.9 kB / 0.8143 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.002646, allocations: 29.7 kB / 0.8144 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.00269, allocations: 132.6 kB / 0.8145 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.002708, allocations: 7.891 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.002732, allocations: 23.38 kB / 0.8145 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.002839, allocations: 496.1 kB / 0.815 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.002846, allocations: 0 / 0.815 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.002863, allocations: 25.58 kB / 0.815 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.002893, allocations: 23.36 kB / 0.815 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.002895, allocations: 0 / 0.815 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.621e-05/0.002941, allocations: 48.36 kB / 0.8151 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.002954, allocations: 10.34 kB / 0.8151 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.002958, allocations: 0 / 0.8151 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.002969, allocations: 3.984 kB / 0.8151 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.003019, allocations: 4 kB / 0.8151 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.003022, allocations: 0 / 0.8151 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.003035, allocations: 0 / 0.8151 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.003042, allocations: 9.531 kB / 0.8151 GB, free: 14.89 MB / 0.7761 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 6.674e-05/0.003109, allocations: 152.6 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.003116, allocations: 3.984 kB / 0.8153 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.003179, allocations: 49.66 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00318, allocations: 0 / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.003182, allocations: 0.5625 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.003185, allocations: 4.5 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.901e-05/0.003254, allocations: 109.6 kB / 0.8154 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.003255, allocations: 256 / 0.8154 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.00328, allocations: 5.375 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.003282, allocations: 4 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.00329, allocations: 0 / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.003291, allocations: 0 / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.003291, allocations: 2.562 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.788e-05/0.003369, allocations: 84.31 kB / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.003383, allocations: 4 kB / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.003391, allocations: 0 / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-06/0.003399, allocations: 0 / 0.8155 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.00341, allocations: 3.984 kB / 0.8155 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.003411, allocations: 0.6875 kB / 0.8155 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.003451, allocations: 131.2 kB / 0.8156 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.003451, allocations: 1.062 kB / 0.8156 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001191/0.00357, allocations: 0 / 0.8156 GB, free: 14.29 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.62e-05/0.003636, allocations: 100.3 kB / 0.8157 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.559e-05/0.003691, allocations: 20.45 kB / 0.8158 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.003692, allocations: 0 / 0.8158 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.759e-06/0.003702, allocations: 12.38 kB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.003803, allocations: 11.59 kB / 0.8158 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001783/0.003982, allocations: 110.4 kB / 0.8159 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.339e-05/0.004015, allocations: 63.28 kB / 0.816 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.444e-05/0.00403, allocations: 4 kB / 0.816 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.004067, allocations: 66.2 kB / 0.816 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.004067, allocations: 0 / 0.816 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.001599/0.005666, allocations: 379.2 kB / 0.8164 GB, free: 13.48 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.907221767120063]