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.0009943/0.0009943, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.000973/0.000973, allocations: 173 kB / 24.28 MB, free: 272 kB / 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.9414/0.9414, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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.292e-06/1.292e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.563e-05, allocations: 3.078 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00118/0.001205, allocations: 0.5559 MB / 0.812 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.001349, allocations: 27.89 kB / 0.8121 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.001396, allocations: 0 / 0.8121 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.001432, allocations: 4.719 kB / 0.8121 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.001575, allocations: 15.97 kB / 0.8121 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.684e-05/0.001622, allocations: 1.688 kB / 0.8121 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.001679, allocations: 11.94 kB / 0.8121 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.001718, allocations: 3.984 kB / 0.8121 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.001773, allocations: 8 kB / 0.8121 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.001839, allocations: 13.45 kB / 0.8121 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.001858, allocations: 0 / 0.8121 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.001866, allocations: 0 / 0.8121 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.001912, allocations: 7.984 kB / 0.8121 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.001935, allocations: 1.75 kB / 0.8121 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.815e-05/0.002003, allocations: 19.86 kB / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002005, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002005, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.002009, allocations: 0 / 0.8122 GB, free: 1.438 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.000322/0.002331, allocations: 361.8 kB / 0.8125 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.002368, allocations: 11.97 kB / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.002402, allocations: 4.938 kB / 0.8125 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.002528, allocations: 119.2 kB / 0.8126 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.002535, allocations: 384 / 0.8126 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.002552, allocations: 384 / 0.8126 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.308e-05/0.002615, allocations: 34.25 kB / 0.8127 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.00262, allocations: 192 / 0.8127 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.002628, allocations: 384 / 0.8127 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.002634, allocations: 1.094 kB / 0.8127 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.132e-05/0.002646, allocations: 7.875 kB / 0.8127 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.002761, allocations: 113.2 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/0.002797, allocations: 32.73 kB / 0.8128 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.002811, allocations: 7.688 kB / 0.8128 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.002822, allocations: 0 / 0.8128 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.002842, allocations: 37.45 kB / 0.8129 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.002843, allocations: 0 / 0.8129 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.002961, allocations: 38.7 kB / 0.8129 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.002991, allocations: 51.41 kB / 0.8129 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.003071, allocations: 174.7 kB / 0.8131 GB, free: 312 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.003078, allocations: 25.7 kB / 0.8131 GB, free: 280 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.003116, allocations: 128 kB / 0.8133 GB, free: 148 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.003138, allocations: 11.94 kB / 0.8133 GB, free: 136 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.003162, allocations: 19.38 kB / 0.8133 GB, free: 108 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.003281, allocations: 493.5 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.003293, allocations: 4 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.003313, allocations: 19.38 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.003347, allocations: 29.08 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.003349, allocations: 0 / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.629e-05/0.003405, allocations: 46.61 kB / 0.8138 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.003417, allocations: 4 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.003422, allocations: 0.8438 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.003433, allocations: 0 / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.003499, allocations: 14.08 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.003504, allocations: 0 / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.003518, allocations: 7.938 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.003522, allocations: 0 / 0.8139 GB, free: 15.47 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 5.856e-05/0.003581, allocations: 160.5 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-06/0.003586, allocations: 2.656 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.924e-05/0.003665, allocations: 45.16 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.003668, allocations: 0 / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.003673, allocations: 0 / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.003677, allocations: 3.938 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.59e-05/0.003753, allocations: 124.5 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.003754, allocations: 0 / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.003793, allocations: 5.625 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.003794, allocations: 0 / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.003806, allocations: 3.938 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.003809, allocations: 4 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00381, allocations: 0.5 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.003903, allocations: 80.91 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.003918, allocations: 1.594 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.003931, allocations: 7.984 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.00394, allocations: 0 / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.003954, allocations: 0 / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.003957, allocations: 0 / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003039/0.00426, allocations: 132.5 kB / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004261, allocations: 0 / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001237/0.004384, allocations: 7.938 kB / 0.8144 GB, free: 14.84 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 7.768e-05/0.004462, allocations: 96.08 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.582e-05/0.004538, allocations: 16.28 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.00454, allocations: 3.688 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.00455, allocations: 11.69 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.004676, allocations: 11.94 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.004922, allocations: 114.4 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.937e-05/0.004951, allocations: 51.36 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.004969, allocations: 4 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.004993, allocations: 8.5 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.004994, allocations: 0 / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.001843/0.006837, allocations: 366.1 kB / 0.8151 GB, free: 14.12 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: 5.136159274028614]