Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example8.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.001165/0.001165, 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.001219/0.001219, allocations: 169 kB / 24.28 MB, free: 276 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.9348/0.9348, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.865/1.865, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.135e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001112/0.001134, allocations: 0.5465 MB / 0.812 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.001243, allocations: 15.97 kB / 0.8121 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.001269, allocations: 0.7812 kB / 0.8121 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.001283, allocations: 0 / 0.8121 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.001432, allocations: 9.625 kB / 0.8121 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.005e-06/0.001435, allocations: 0 / 0.8121 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.893e-05/0.001484, allocations: 3.938 kB / 0.8121 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.001525, allocations: 8 kB / 0.8121 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.001576, allocations: 5.516 kB / 0.8121 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.001609, allocations: 0 / 0.8121 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.001624, allocations: 4 kB / 0.8121 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-06/0.00163, allocations: 0 / 0.8121 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.001642, allocations: 3.938 kB / 0.8121 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.362e-05/0.001656, allocations: 0.5 kB / 0.8121 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 4.439e-05/0.0017, allocations: 5.734 kB / 0.8121 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.001702, allocations: 0 / 0.8121 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.62e-07/0.001703, allocations: 0 / 0.8121 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.001706, allocations: 4 kB / 0.8121 GB, free: 1.508 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002357/0.001942, allocations: 340.4 kB / 0.8124 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.001978, allocations: 8.875 kB / 0.8124 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.002011, allocations: 4.938 kB / 0.8124 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.103e-05/0.002082, allocations: 109.3 kB / 0.8125 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.002091, allocations: 0.9375 kB / 0.8125 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.002099, allocations: 4.312 kB / 0.8125 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.453e-05/0.002184, allocations: 47.02 kB / 0.8126 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.002191, allocations: 4.172 kB / 0.8126 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.002199, allocations: 384 / 0.8126 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.002205, allocations: 6.938 kB / 0.8126 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.577e-05/0.002221, allocations: 3.938 kB / 0.8126 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.00233, allocations: 120.3 kB / 0.8127 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.429e-05/0.002374, allocations: 54.12 kB / 0.8128 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.002395, allocations: 19.38 kB / 0.8128 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.002414, allocations: 8.109 kB / 0.8128 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.002434, allocations: 37.86 kB / 0.8128 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.002435, allocations: 0.7188 kB / 0.8128 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.002551, allocations: 46.52 kB / 0.8129 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.002587, allocations: 78.73 kB / 0.813 GB, free: 468 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.002649, allocations: 157.9 kB / 0.8131 GB, free: 292 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.002657, allocations: 29.64 kB / 0.8131 GB, free: 256 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.002685, allocations: 131.5 kB / 0.8133 GB, free: 120 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.002708, allocations: 3.953 kB / 0.8133 GB, free: 116 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.002733, allocations: 19.97 kB / 0.8133 GB, free: 88 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003709/0.003104, allocations: 496.1 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.003115, allocations: 0.7812 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.003132, allocations: 20.5 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.003166, allocations: 32.67 kB / 0.8138 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003168, allocations: 0 / 0.8138 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.064e-05/0.003218, allocations: 37.66 kB / 0.8138 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.003231, allocations: 8.75 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.003236, allocations: 0 / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.003246, allocations: 1 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.003309, allocations: 7.984 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.003315, allocations: 3.938 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.003328, allocations: 5.094 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.003335, allocations: 8 kB / 0.8139 GB, free: 15.45 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.533e-05/0.00339, allocations: 157.4 kB / 0.814 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-06/0.003395, allocations: 0 / 0.814 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.348e-05/0.003478, allocations: 54.84 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.00348, allocations: 0 / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.003484, allocations: 0 / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.003487, allocations: 3.938 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.654e-05/0.003544, allocations: 108.6 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.003545, allocations: 2.844 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.003558, allocations: 7.984 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.003559, allocations: 0 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.003565, allocations: 0 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-07/0.003565, allocations: 0 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.003566, allocations: 0 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.716e-05/0.003623, allocations: 88.06 kB / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.003653, allocations: 13.45 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.003661, allocations: 0 / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.003668, allocations: 0 / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.003681, allocations: 0 / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.003684, allocations: 4.625 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.003716, allocations: 127.6 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.003716, allocations: 0.5625 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001139/0.00383, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 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 6.622e-05/0.003896, allocations: 104.6 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.25e-05/0.003958, allocations: 12.78 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.00396, allocations: 0 / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.003967, allocations: 16.28 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.493e-05/0.004062, allocations: 4 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.004244, allocations: 105.6 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.004271, allocations: 59.14 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.317e-05/0.004285, allocations: 0 / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.004302, allocations: 8.5 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.004302, allocations: 0 / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.001468/0.005771, allocations: 210.4 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.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.922605243045837]