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.001009/0.001009, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009221/0.0009221, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 1.022/1.022, allocations: 177.1 MB / 204.2 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.849/1.849, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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 2.394e-06/2.394e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.818e-05, allocations: 3.25 kB / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001362/0.00139, allocations: 0.5526 MB / 0.812 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/0.001509, allocations: 17.66 kB / 0.8121 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.001535, allocations: 7.938 kB / 0.8121 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.001552, allocations: 0 / 0.8121 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.0017, allocations: 0 / 0.8121 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.001704, allocations: 1.531 kB / 0.8121 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.001756, allocations: 7.938 kB / 0.8121 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.001794, allocations: 3.984 kB / 0.8121 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.001845, allocations: 4 kB / 0.8121 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.001881, allocations: 5.578 kB / 0.8121 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.001895, allocations: 0 / 0.8121 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-06/0.0019, allocations: 0 / 0.8121 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.001913, allocations: 7.938 kB / 0.8121 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.296e-05/0.001926, allocations: 1.031 kB / 0.8121 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.234e-05/0.001978, allocations: 4 kB / 0.8121 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.001981, allocations: 0 / 0.8121 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.112e-06/0.001982, allocations: 0.7812 kB / 0.8121 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.001986, allocations: 0 / 0.8121 GB, free: 1.191 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.0002445/0.002231, allocations: 340.9 kB / 0.8124 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.002269, allocations: 12.03 kB / 0.8124 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.002301, allocations: 5.469 kB / 0.8124 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.33e-05/0.002364, allocations: 105.4 kB / 0.8125 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.002375, allocations: 4.375 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.002386, allocations: 5.531 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.002476, allocations: 49.62 kB / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.002484, allocations: 1.562 kB / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.002493, allocations: 384 / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.0025, allocations: 384 / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.872e-05/0.002519, allocations: 11.88 kB / 0.8126 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.00262, allocations: 118.1 kB / 0.8127 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.002663, allocations: 50.19 kB / 0.8128 GB, free: 376 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.002688, allocations: 27.42 kB / 0.8128 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.002709, allocations: 0 / 0.8128 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.00273, allocations: 41.92 kB / 0.8128 GB, free: 288 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.00273, allocations: 1 kB / 0.8128 GB, free: 288 kB / 0.7605 GB Notification: Performance of matching and sorting (n=2): time 0.0001139/0.002844, allocations: 38.17 kB / 0.8129 GB, free: 244 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.002877, allocations: 81.09 kB / 0.813 GB, free: 144 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.002954, allocations: 167.2 kB / 0.8131 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.002964, allocations: 25.7 kB / 0.8131 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.002992, allocations: 126.9 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.003023, allocations: 6.891 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.003045, allocations: 19.38 kB / 0.8133 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.003148, allocations: 496.1 kB / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.003156, allocations: 0 / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.003172, allocations: 23.36 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.0032, allocations: 23.84 kB / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.003202, allocations: 0.7188 kB / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.178e-05/0.003243, allocations: 46.17 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.003255, allocations: 5.656 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.003259, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.003273, allocations: 3.984 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.003333, allocations: 4 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.003338, allocations: 0.5 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.003353, allocations: 15.89 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.003359, allocations: 1.125 kB / 0.8139 GB, free: 15.13 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.347e-05/0.003412, allocations: 152.6 kB / 0.814 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.003418, allocations: 4.906 kB / 0.814 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.003498, allocations: 49.47 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.003501, allocations: 3.984 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.003505, allocations: 2.219 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.003508, allocations: 3.938 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.577e-05/0.003564, allocations: 116.6 kB / 0.8142 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.003564, allocations: 0 / 0.8142 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.003577, allocations: 4 kB / 0.8142 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.003579, allocations: 0 / 0.8142 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.003584, allocations: 2.781 kB / 0.8142 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.003585, allocations: 4 kB / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.003586, allocations: 0 / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.655e-05/0.003642, allocations: 88 kB / 0.8143 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.003671, allocations: 4 kB / 0.8143 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.003679, allocations: 0 / 0.8143 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-06/0.003685, allocations: 0 / 0.8143 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.003701, allocations: 5.469 kB / 0.8143 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.003705, allocations: 7.922 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.003735, allocations: 123.1 kB / 0.8144 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.003735, allocations: 0.5 kB / 0.8144 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001135/0.003848, allocations: 5.094 kB / 0.8144 GB, free: 14.5 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 5.947e-05/0.003908, allocations: 91.25 kB / 0.8145 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.003976, allocations: 26.22 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.003978, allocations: 0 / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.248e-06/0.003987, allocations: 11.69 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.623e-05/0.004084, allocations: 3.984 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001768/0.00426, allocations: 103.6 kB / 0.8147 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.00429, allocations: 51.36 kB / 0.8147 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.569e-05/0.004306, allocations: 8.953 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.004325, allocations: 8.5 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of SimCode: time 3.4e-07/0.004325, allocations: 4 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of Templates: time 0.001232/0.005557, allocations: 208.5 kB / 0.8149 GB, free: 13.94 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: 5.158100407104939]