Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0008999/0.0009001, allocations: 97.33 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005415/0.005415, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.07/2.07, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002846, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5598, allocations: 142.4 MB / 0.955 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001365/0.5612, allocations: 1.255 MB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.5613, allocations: 37.72 kB / 0.9563 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.5613, allocations: 0 / 0.9563 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.112e-05/0.5614, allocations: 5.25 kB / 0.9563 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.056e-05/0.5615, allocations: 5.266 kB / 0.9563 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.746e-05/0.5616, allocations: 15.39 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.5616, allocations: 50.34 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.5618, allocations: 39.39 kB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.5618, allocations: 10.19 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.5619, allocations: 18.39 kB / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.5619, allocations: 1.781 kB / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.5619, allocations: 6.781 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.5619, allocations: 12.95 kB / 0.9565 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.562, allocations: 51.12 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.543e-05/0.5621, allocations: 52.86 kB / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.5621, allocations: 0 / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5621, allocations: 0 / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.5621, allocations: 0 / 0.9566 GB, free: 6.57 MB / 0.7169 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.0002477/0.5623, allocations: 354.7 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.5624, allocations: 9.25 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.5624, allocations: 8.875 kB / 0.9569 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.5625, allocations: 192.5 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.5625, allocations: 2.844 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.5626, allocations: 9.125 kB / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.5627, allocations: 94.89 kB / 0.9572 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.5627, allocations: 192 / 0.9572 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5627, allocations: 4.969 kB / 0.9572 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5627, allocations: 6.312 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.5628, allocations: 46.59 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.5632, allocations: 0.6413 MB / 0.9579 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.956e-05/0.5633, allocations: 174.5 kB / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.5633, allocations: 84.08 kB / 0.9581 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.5633, allocations: 79.31 kB / 0.9582 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.5633, allocations: 106.9 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.5633, allocations: 0 / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.977e-05/0.5634, allocations: 37.52 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.5634, allocations: 131.8 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.5636, allocations: 171.6 kB / 0.9586 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-06/0.5636, allocations: 26.7 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.5636, allocations: 105.8 kB / 0.9588 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.5636, allocations: 3.938 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.5637, allocations: 15.12 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.5637, allocations: 317.4 kB / 0.9591 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.5637, allocations: 6.781 kB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.5638, allocations: 25.25 kB / 0.9591 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.5638, allocations: 25.23 kB / 0.9591 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5638, allocations: 0 / 0.9591 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000102/0.5639, allocations: 58.42 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5639, allocations: 9.719 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5639, allocations: 3.984 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5639, allocations: 5.344 kB / 0.9592 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.564, allocations: 3.531 kB / 0.9592 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.564, allocations: 1.406 kB / 0.9592 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.5641, allocations: 11 kB / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.5641, allocations: 1.594 kB / 0.9592 GB, free: 3.809 MB / 0.7169 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 5.534e-05/0.5641, allocations: 185.6 kB / 0.9594 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.5642, allocations: 120.7 kB / 0.9595 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.5642, allocations: 120.1 kB / 0.9596 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5642, allocations: 177.9 kB / 0.9598 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/0.5642, allocations: 181.6 kB / 0.96 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.5643, allocations: 184.2 kB / 0.9601 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.5644, allocations: 423.1 kB / 0.9606 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.5644, allocations: 106.1 kB / 0.9607 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.5644, allocations: 106.2 kB / 0.9608 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.196e-05/0.5645, allocations: 181.7 kB / 0.9609 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.5645, allocations: 184.2 kB / 0.9611 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/0.5645, allocations: 181.7 kB / 0.9613 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-05/0.5646, allocations: 189.9 kB / 0.9615 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.761e-05/0.5646, allocations: 317.6 kB / 0.9618 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.5647, allocations: 191.8 kB / 0.9619 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.5647, allocations: 189.8 kB / 0.9621 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.5648, allocations: 102.8 kB / 0.9622 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.5648, allocations: 180.4 kB / 0.9624 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.5648, allocations: 110.8 kB / 0.9625 GB, free: 276 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.5649, allocations: 127.1 kB / 0.9626 GB, free: 176 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5649, allocations: 0 / 0.9626 GB, free: 176 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002023/0.5651, allocations: 5.406 kB / 0.9626 GB, free: 176 kB / 0.7169 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 8.053e-05/0.5652, allocations: 182.5 kB / 0.9628 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.397e-05/0.5653, allocations: 14.27 kB / 0.9628 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5653, allocations: 3.938 kB / 0.9628 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.5653, allocations: 0 / 0.9628 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.5657, allocations: 0.5225 MB / 0.9633 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.566, allocations: 241.6 kB / 0.9636 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.5662, allocations: 0.6991 MB / 0.9642 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.828e-05/0.5662, allocations: 4.25 kB / 0.9642 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.5663, allocations: 9.719 kB / 0.9643 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5663, allocations: 0 / 0.9643 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.00205/0.5683, allocations: 406.1 kB / 0.9646 GB, free: 14.31 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches