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.0009946/0.0009946, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009417/0.0009417, allocations: 165 kB / 23.82 MB, free: 0.7461 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.8951/0.8951, 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.812/1.812, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.412e-06/1.412e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.949e-05, allocations: 3.297 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001107/0.001126, allocations: 0.5532 MB / 0.8121 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.001276, allocations: 39.81 kB / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.001319, allocations: 1.031 kB / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.001357, allocations: 0 / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.001519, allocations: 12.91 kB / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.947e-05/0.001568, allocations: 3.984 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.725e-05/0.001626, allocations: 11.98 kB / 0.8121 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.001662, allocations: 8.766 kB / 0.8121 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.001715, allocations: 7.938 kB / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.001796, allocations: 13.67 kB / 0.8121 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.001816, allocations: 0 / 0.8121 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.001824, allocations: 4 kB / 0.8122 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.001868, allocations: 0 / 0.8122 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.001895, allocations: 5.531 kB / 0.8122 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.466e-05/0.00197, allocations: 19.84 kB / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.001972, allocations: 0 / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.62e-07/0.001972, allocations: 0 / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.001977, allocations: 3.938 kB / 0.8122 GB, free: 1.09 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.0004237/0.002401, allocations: 361.2 kB / 0.8125 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.002459, allocations: 9 kB / 0.8125 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.002496, allocations: 4.938 kB / 0.8125 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.002627, allocations: 114.2 kB / 0.8126 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.002636, allocations: 384 / 0.8126 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.002656, allocations: 4.375 kB / 0.8126 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.969e-05/0.002746, allocations: 34.25 kB / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.002753, allocations: 2.781 kB / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.002764, allocations: 384 / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.002773, allocations: 384 / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.313e-05/0.002786, allocations: 7.938 kB / 0.8127 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.002921, allocations: 112.7 kB / 0.8128 GB, free: 364 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.7e-05/0.002968, allocations: 30.98 kB / 0.8128 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.002987, allocations: 8.219 kB / 0.8128 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.003001, allocations: 0 / 0.8128 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.003023, allocations: 38.17 kB / 0.8129 GB, free: 260 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.003024, allocations: 0 / 0.8129 GB, free: 260 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.003156, allocations: 35.83 kB / 0.8129 GB, free: 220 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.003189, allocations: 51.41 kB / 0.813 GB, free: 156 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.003287, allocations: 173.9 kB / 0.8131 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.0033, allocations: 29.7 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.003342, allocations: 126.9 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.003371, allocations: 8.438 kB / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.003401, allocations: 23.97 kB / 0.8133 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.003511, allocations: 492.1 kB / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.003525, allocations: 4.781 kB / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.003548, allocations: 16.53 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.003582, allocations: 27.36 kB / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.003584, allocations: 9.312 kB / 0.8138 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.16e-05/0.003626, allocations: 33.7 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.003636, allocations: 12.34 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.00364, allocations: 0 / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.003653, allocations: 4 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.003711, allocations: 3.984 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.003718, allocations: 7.938 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.319e-05/0.003731, allocations: 4.438 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.003736, 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 6.895e-05/0.003805, allocations: 160.6 kB / 0.814 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.003811, allocations: 4.891 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.003894, allocations: 45.41 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.003898, allocations: 0.8438 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.003901, allocations: 4 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.003906, allocations: 3.938 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.804e-05/0.004004, allocations: 122.7 kB / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.004005, allocations: 0 / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.004042, allocations: 4 kB / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.004043, allocations: 0 / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.004058, allocations: 4 kB / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.004059, allocations: 0 / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00406, allocations: 2.781 kB / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.599e-05/0.004146, allocations: 84.31 kB / 0.8143 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.004161, allocations: 8 kB / 0.8143 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.004171, allocations: 3.984 kB / 0.8143 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.004179, allocations: 0 / 0.8143 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.004192, allocations: 0 / 0.8143 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.004195, allocations: 5.469 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.00423, allocations: 127.2 kB / 0.8144 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00423, allocations: 0 / 0.8144 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001193/0.00435, allocations: 7.938 kB / 0.8145 GB, free: 14.49 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.082e-05/0.004421, allocations: 96.28 kB / 0.8145 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.999e-05/0.004501, allocations: 21.03 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.004503, allocations: 0 / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.004553, allocations: 11.69 kB / 0.8146 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.004658, allocations: 0.6562 kB / 0.8146 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.004897, allocations: 114.9 kB / 0.8147 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.004928, allocations: 59.05 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.004944, allocations: 3.938 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.004967, allocations: 8.5 kB / 0.8148 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.004968, allocations: 0 / 0.8148 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.002023/0.006991, allocations: 360.9 kB / 0.8151 GB, free: 13.78 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.710198979824781]