Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.0009582/0.0009582, 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.0009231/0.0009231, allocations: 161 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.8741/0.8741, 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.778/1.778, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.52e-05, allocations: 6.234 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.005128/0.005143, allocations: 1.578 MB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001161/0.005259, allocations: 32.58 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.005305, allocations: 4 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.005416, allocations: 13.55 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.00545, allocations: 0 / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.005551, allocations: 19.97 kB / 0.8132 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.595e-05/0.005637, allocations: 47.84 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.00574, allocations: 29.44 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.005799, allocations: 24.05 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.005856, allocations: 23.91 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.005879, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.005889, allocations: 8.438 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.005928, allocations: 23.83 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.005959, allocations: 16.91 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.251e-05/0.006051, allocations: 39.83 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006053, allocations: 4.562 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006054, allocations: 0 / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.006057, allocations: 1.594 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003406/0.006398, allocations: 388.4 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.006436, allocations: 12.03 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.006474, allocations: 13.61 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.006601, allocations: 132.5 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.006611, allocations: 4.844 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.006623, allocations: 8.375 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.006746, allocations: 86.92 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.006754, allocations: 192 / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.006765, allocations: 8.375 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.006772, allocations: 384 / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.006821, allocations: 32.45 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.01033, allocations: 0.7896 MB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.01042, allocations: 269.4 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.01045, allocations: 143.6 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.01048, allocations: 120.2 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.01052, allocations: 152.6 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.01052, allocations: 0 / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.829e-05/0.01057, allocations: 31.08 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.01062, allocations: 170.6 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.01071, allocations: 189.8 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.01071, allocations: 25.7 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.01077, allocations: 156.4 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.01078, allocations: 0 / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.01081, allocations: 23.38 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01093, allocations: 0.4922 MB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.01094, allocations: 2.219 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.01097, allocations: 35.03 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.01101, allocations: 31.06 kB / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.01101, allocations: 0 / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.48e-05/0.0111, allocations: 56.44 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.01111, allocations: 8 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01111, allocations: 3.984 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.01112, allocations: 0 / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.01118, allocations: 4 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01118, allocations: 4 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.01121, allocations: 5.406 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.01121, allocations: 4 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.484e-05/0.0113, allocations: 271.8 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.01135, allocations: 157.4 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.0114, allocations: 156.3 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-05/0.01146, allocations: 268.6 kB / 0.8175 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.925e-05/0.01152, allocations: 268 kB / 0.8177 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.854e-05/0.01158, allocations: 264.6 kB / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.01177, allocations: 0.5121 MB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/0.01181, allocations: 144.9 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.01184, allocations: 154.2 kB / 0.8188 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.324e-05/0.01191, allocations: 268 kB / 0.819 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.01196, allocations: 264.1 kB / 0.8193 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-05/0.01203, allocations: 282.5 kB / 0.8195 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.973e-05/0.01209, allocations: 264.1 kB / 0.8198 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.01222, allocations: 451.9 kB / 0.8202 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.01226, allocations: 156.8 kB / 0.8204 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.01233, allocations: 272 kB / 0.8206 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.0124, allocations: 148.9 kB / 0.8208 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.01247, allocations: 268 kB / 0.821 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.01251, allocations: 157.7 kB / 0.8212 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.01256, allocations: 132.4 kB / 0.8213 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01256, allocations: 0 / 0.8213 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000222/0.01278, allocations: 11.94 kB / 0.8213 GB, free: 7.301 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.756e-05/0.01288, allocations: 227.3 kB / 0.8215 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.699e-05/0.01295, allocations: 16.84 kB / 0.8215 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01295, allocations: 0 / 0.8215 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.01295, allocations: 0.8438 kB / 0.8215 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.01343, allocations: 0.7085 MB / 0.8222 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.01371, allocations: 274 kB / 0.8225 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.01375, allocations: 67.19 kB / 0.8226 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.13e-05/0.01376, allocations: 0 / 0.8226 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.01378, allocations: 8.5 kB / 0.8226 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.01378, allocations: 0 / 0.8226 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of Templates: time 0.001474/0.01526, allocations: 294.7 kB / 0.8228 GB, free: 5.672 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.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.481025327928364]