Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.5649, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002904/0.5679, allocations: 1.522 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001237/0.568, allocations: 35.84 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.5681, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.5682, allocations: 15.86 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.5682, allocations: 3.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.5683, allocations: 15.98 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.968e-05/0.5684, allocations: 51.77 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.5686, allocations: 43.97 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.5686, allocations: 19.92 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.5687, allocations: 31.84 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.5687, allocations: 4 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.5687, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.5688, allocations: 19.98 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.5688, allocations: 23.81 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.569, allocations: 61.77 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.569, allocations: 4 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.597e-06/0.569, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.569, allocations: 3.938 kB / 1.019 GB, free: 0.6172 MB / 0.7637 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.0004216/0.5694, allocations: 363.3 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.5694, allocations: 8.031 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.5695, allocations: 8.844 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.5697, allocations: 184.2 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.5697, allocations: 4.375 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.5697, allocations: 12.38 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.5699, allocations: 100.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5699, allocations: 192 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.57, allocations: 11.94 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.57, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.57, allocations: 43.97 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.5707, allocations: 0.6439 MB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.5708, allocations: 165.1 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.5708, allocations: 84.14 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.5709, allocations: 79.28 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.5709, allocations: 109.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.571, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.571, allocations: 37.58 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.5711, allocations: 126.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.5713, allocations: 175.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.5713, allocations: 29.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.5714, allocations: 104 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.5714, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.5715, allocations: 17.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5716, allocations: 318.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.5716, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.5717, allocations: 26.56 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.5717, allocations: 34.52 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5717, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001217/0.5718, allocations: 53.55 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5719, allocations: 11.92 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5719, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5719, allocations: 8.031 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.5719, allocations: 8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.572, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.572, allocations: 7.906 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-06/0.572, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 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 0.0001147/0.5721, allocations: 189.1 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.5722, allocations: 116.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.5723, allocations: 116.8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.092e-05/0.5724, allocations: 188.2 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.454e-05/0.5724, allocations: 180.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-05/0.5725, allocations: 180.2 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.5728, allocations: 421.1 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.274e-05/0.5729, allocations: 113 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.5729, allocations: 108.9 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.627e-05/0.573, allocations: 180.3 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.573, allocations: 184.2 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.456e-05/0.5731, allocations: 184.2 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.625e-05/0.5732, allocations: 176.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.5733, allocations: 319.7 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.5734, allocations: 182.4 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/0.5735, allocations: 192.2 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.5736, allocations: 105 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.5737, allocations: 184.2 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.5737, allocations: 105 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001004/0.5738, allocations: 128.9 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5738, allocations: 0 / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002338/0.5741, allocations: 8 kB / 1.025 GB, free: 9.906 MB / 0.7794 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 0.0001312/0.5742, allocations: 178.5 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.623e-05/0.5743, allocations: 7.938 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5743, allocations: 4.188 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-06/0.5743, allocations: 8 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.5747, allocations: 453.1 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.5751, allocations: 245.3 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.5754, allocations: 0.6885 MB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.5754, allocations: 7.984 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.5755, allocations: 11.44 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5755, allocations: 0 / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of Templates: time 0.002454/0.5779, allocations: 429.7 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches