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.001573/0.001573, allocations: 87.58 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.001438/0.001438, allocations: 161 kB / 23.82 MB, free: 0.75 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.9801/0.9801, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.89/1.89, allocations: 377.9 MB / 0.6236 GB, free: 8.527 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.823e-06/1.823e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.774e-05/3.956e-05, allocations: 2.875 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001895/0.001934, allocations: 0.552 MB / 0.8121 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.002143, allocations: 44.84 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.002201, allocations: 0 / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.601e-05/0.002247, allocations: 0.6562 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.002421, allocations: 7.938 kB / 0.8121 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.378e-05/0.002484, allocations: 0.875 kB / 0.8121 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.002555, allocations: 15.92 kB / 0.8121 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.002597, allocations: 4.781 kB / 0.8121 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.002662, allocations: 4 kB / 0.8121 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.002743, allocations: 13.66 kB / 0.8121 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.002763, allocations: 0 / 0.8121 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.002773, allocations: 0 / 0.8121 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.002833, allocations: 7.938 kB / 0.8122 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.002862, allocations: 4 kB / 0.8122 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.225e-05/0.002954, allocations: 13.45 kB / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.002956, allocations: 4 kB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.533e-06/0.002958, allocations: 3.938 kB / 0.8122 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.002963, allocations: 0 / 0.8122 GB, free: 1.086 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.0004181/0.003381, allocations: 357.7 kB / 0.8125 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.003429, allocations: 8.031 kB / 0.8125 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.003471, allocations: 6.531 kB / 0.8125 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.003648, allocations: 116.6 kB / 0.8126 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003659, allocations: 384 / 0.8126 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.003686, allocations: 384 / 0.8126 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.472e-05/0.003771, allocations: 34.78 kB / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003778, allocations: 0.9062 kB / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.003788, allocations: 384 / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.003797, allocations: 0.9062 kB / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.003813, allocations: 3.938 kB / 0.8127 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.003956, allocations: 118.2 kB / 0.8128 GB, free: 364 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.901e-05/0.003995, allocations: 31.03 kB / 0.8128 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.00401, allocations: 11.62 kB / 0.8128 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.004025, allocations: 0 / 0.8128 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.004048, allocations: 42.08 kB / 0.8129 GB, free: 252 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.004049, allocations: 0.6875 kB / 0.8129 GB, free: 252 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.004174, allocations: 38.31 kB / 0.8129 GB, free: 208 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.0042, allocations: 51.41 kB / 0.813 GB, free: 144 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.004303, allocations: 170.7 kB / 0.8131 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.004314, allocations: 25.7 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.004354, allocations: 136.2 kB / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.004376, allocations: 7.938 kB / 0.8133 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.004405, allocations: 19.38 kB / 0.8133 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.004515, allocations: 496.1 kB / 0.8138 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.004526, allocations: 1.75 kB / 0.8138 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.004547, allocations: 23.36 kB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.004585, allocations: 25.53 kB / 0.8138 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004587, allocations: 0 / 0.8138 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.48e-05/0.004641, allocations: 41.7 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.004654, allocations: 4 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004659, allocations: 0 / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.004674, allocations: 7.109 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/0.004745, allocations: 4 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.004752, allocations: 3.938 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.658e-05/0.004768, allocations: 8.188 kB / 0.8139 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.004774, allocations: 0 / 0.8139 GB, free: 15.12 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.606e-05/0.00484, allocations: 152.6 kB / 0.814 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.004847, allocations: 4 kB / 0.814 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.167e-05/0.004939, allocations: 50.41 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004941, allocations: 0 / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.004945, allocations: 0 / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.00495, allocations: 7.922 kB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.66e-05/0.005027, allocations: 125.1 kB / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.005028, allocations: 0 / 0.8142 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.005071, allocations: 4.562 kB / 0.8142 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005073, allocations: 0.8438 kB / 0.8142 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.005086, allocations: 0 / 0.8142 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005087, allocations: 1.094 kB / 0.8142 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.005089, allocations: 7.875 kB / 0.8142 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.005189, allocations: 86.81 kB / 0.8143 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.005209, allocations: 3.984 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.005219, allocations: 0 / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/0.005229, allocations: 4 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.005243, allocations: 0 / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.005246, allocations: 0 / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.005285, allocations: 135.2 kB / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005285, allocations: 0.8125 kB / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001207/0.005405, allocations: 3.938 kB / 0.8145 GB, free: 14.48 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.569e-05/0.005481, allocations: 96.19 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.737e-05/0.005548, allocations: 20.84 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.00555, allocations: 0 / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.005561, allocations: 16.52 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.005672, allocations: 4 kB / 0.8146 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.005901, allocations: 111.2 kB / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.005928, allocations: 51.36 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.005948, allocations: 9.141 kB / 0.8148 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.00597, allocations: 8.5 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.005971, allocations: 1 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.001941/0.007911, allocations: 359 kB / 0.8151 GB, free: 13.77 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.278575754258782]