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.001265/0.001265, 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.0009028/0.0009028, allocations: 161 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 0.9166/0.9166, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.827/1.827, allocations: 377.9 MB / 0.6236 GB, free: 8.562 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.823e-06/1.823e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.903e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001487/0.001506, allocations: 0.5513 MB / 0.8121 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001412/0.001648, allocations: 15.97 kB / 0.8121 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.001677, allocations: 0 / 0.8121 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.001699, allocations: 3.938 kB / 0.8121 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.00186, allocations: 4.844 kB / 0.8121 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.001863, allocations: 0 / 0.8121 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.761e-05/0.001921, allocations: 8.5 kB / 0.8121 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.00196, allocations: 8.672 kB / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.002016, allocations: 0 / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.877e-05/0.002054, allocations: 8.891 kB / 0.8121 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.002071, allocations: 0 / 0.8121 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.002078, allocations: 0 / 0.8121 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.002093, allocations: 4.594 kB / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.38e-05/0.002106, allocations: 0 / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.139e-05/0.002158, allocations: 4.875 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.00216, allocations: 0 / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.02e-07/0.002161, allocations: 1.062 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002164, allocations: 0 / 0.8121 GB, free: 1.16 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.0002778/0.002442, allocations: 340.4 kB / 0.8124 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.002483, allocations: 9.625 kB / 0.8124 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.002518, allocations: 4.938 kB / 0.8124 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.921e-05/0.002597, allocations: 112.6 kB / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.002608, allocations: 384 / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.002616, allocations: 5.906 kB / 0.8126 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/0.002714, allocations: 49.62 kB / 0.8126 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.002721, allocations: 192 / 0.8126 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.00273, allocations: 5.641 kB / 0.8126 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.002738, allocations: 384 / 0.8126 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.002757, allocations: 11.88 kB / 0.8126 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.002882, allocations: 117.9 kB / 0.8127 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/0.00294, allocations: 54.17 kB / 0.8128 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.002968, allocations: 23.5 kB / 0.8128 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.002987, allocations: 3.938 kB / 0.8128 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.00303, allocations: 34.02 kB / 0.8129 GB, free: 256 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 2.234e-06/0.003033, allocations: 4.969 kB / 0.8129 GB, free: 252 kB / 0.7605 GB Notification: Performance of matching and sorting (n=2): time 0.0001179/0.003151, allocations: 46.38 kB / 0.8129 GB, free: 200 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.00318, allocations: 77.11 kB / 0.813 GB, free: 104 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.003249, allocations: 158.5 kB / 0.8131 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.003257, allocations: 27.05 kB / 0.8131 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.003283, allocations: 130.8 kB / 0.8133 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.003303, allocations: 4.297 kB / 0.8133 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.003328, allocations: 23.38 kB / 0.8133 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.003439, allocations: 493.9 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.003447, allocations: 0 / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.003462, allocations: 23.36 kB / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.00349, allocations: 28.56 kB / 0.8138 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.003491, allocations: 0 / 0.8138 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.463e-05/0.003526, allocations: 38.2 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.003538, allocations: 8.5 kB / 0.8139 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.003542, allocations: 4.547 kB / 0.8139 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.003553, allocations: 0 / 0.8139 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.003604, allocations: 5.188 kB / 0.8139 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.003609, allocations: 0 / 0.8139 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.00362, allocations: 7.891 kB / 0.8139 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.003624, allocations: 4.75 kB / 0.8139 GB, free: 15.1 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.826e-05/0.003692, allocations: 156.6 kB / 0.814 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.003699, allocations: 8.5 kB / 0.814 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.003768, allocations: 50.72 kB / 0.8141 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.00377, allocations: 0 / 0.8141 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.003773, allocations: 0 / 0.8141 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.003776, allocations: 3.938 kB / 0.8141 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.261e-05/0.003828, allocations: 113.2 kB / 0.8142 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.003829, allocations: 0.7188 kB / 0.8142 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.00384, allocations: 4 kB / 0.8142 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.00384, allocations: 0.5 kB / 0.8142 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.003844, allocations: 0.8125 kB / 0.8142 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.003845, allocations: 4 kB / 0.8142 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.003846, allocations: 0.9375 kB / 0.8142 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.511e-05/0.003901, allocations: 88 kB / 0.8143 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.003928, allocations: 5.25 kB / 0.8143 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-06/0.003933, allocations: 0 / 0.8143 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.00394, allocations: 0 / 0.8143 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-06/0.003947, allocations: 4 kB / 0.8143 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.003949, allocations: 4.953 kB / 0.8143 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.004008, allocations: 125.4 kB / 0.8144 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004008, allocations: 3.938 kB / 0.8144 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001147/0.004123, allocations: 4 kB / 0.8144 GB, free: 14.47 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.369e-05/0.004186, allocations: 95.25 kB / 0.8145 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.004263, allocations: 23.06 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.004264, allocations: 0 / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-06/0.004274, allocations: 11.69 kB / 0.8146 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.785e-05/0.004371, allocations: 3.984 kB / 0.8146 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.004552, allocations: 98.25 kB / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.004581, allocations: 55.36 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.004597, allocations: 4.891 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.004619, allocations: 8.5 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.00462, allocations: 3.938 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.00156/0.00618, allocations: 212.4 kB / 0.8149 GB, free: 13.91 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.779697297140956]