Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004629/0.004629, allocations: 101.1 kB / 15.73 MB, free: 5.98 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.001211/0.001211, allocations: 191.6 kB / 16.67 MB, free: 5.91 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.358/2.358, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 56.12 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7656, allocations: 159.1 MB / 1.221 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002189/0.7678, allocations: 1.534 MB / 1.222 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001045/0.7679, allocations: 35.84 kB / 1.222 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.768, allocations: 8 kB / 1.222 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.7681, allocations: 11.88 kB / 1.222 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.7681, allocations: 7.922 kB / 1.222 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.375e-05/0.7682, allocations: 15.98 kB / 1.222 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.7683, allocations: 51.83 kB / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.7684, allocations: 27.98 kB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.7685, allocations: 19.92 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.7685, allocations: 31.91 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.7685, allocations: 4 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.7685, allocations: 4 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.7686, allocations: 19.92 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.7686, allocations: 27.81 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.547e-05/0.7687, allocations: 60.66 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7687, allocations: 0 / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7687, allocations: 0 / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.7687, allocations: 3.938 kB / 1.222 GB, free: 404 kB / 0.9356 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.0003395/0.7691, allocations: 371.2 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.7691, allocations: 16.03 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.7691, allocations: 8.891 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.7693, allocations: 176.3 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.7693, allocations: 384 / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.7693, allocations: 8.375 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.7694, allocations: 104.7 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7694, allocations: 4.172 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.7694, allocations: 7.938 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.7695, allocations: 8 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.7695, allocations: 39.91 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.77, allocations: 0.6441 MB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.7701, allocations: 169.1 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.7701, allocations: 80.14 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.7701, allocations: 75.28 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.7701, allocations: 109.8 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.7701, allocations: 0 / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 5.907e-05/0.7702, allocations: 37.59 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.7702, allocations: 138.7 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.7704, allocations: 172.5 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.7704, allocations: 25.7 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.7704, allocations: 96.09 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.7705, allocations: 0 / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.7705, allocations: 21.7 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.7706, allocations: 314.8 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.7706, allocations: 8 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.7706, allocations: 26.56 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.7706, allocations: 26.52 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7706, allocations: 0 / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001027/0.7707, allocations: 61.59 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7707, allocations: 11.98 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.7708, allocations: 0 / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.7708, allocations: 3.938 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.7708, allocations: 4 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7708, allocations: 4 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.7708, allocations: 11.83 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.7709, allocations: 4 kB / 1.225 GB, free: 13.38 MB / 0.9512 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.274e-05/0.7709, allocations: 193.6 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.771, allocations: 113 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.771, allocations: 120.8 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.694e-05/0.7711, allocations: 180.2 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-05/0.7711, allocations: 184.2 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.687e-05/0.7712, allocations: 184.2 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.7714, allocations: 421.2 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/0.7714, allocations: 109.8 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.7714, allocations: 109 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.613e-05/0.7715, allocations: 180.3 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.7715, allocations: 184.1 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-05/0.7716, allocations: 176.3 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.742e-05/0.7716, allocations: 188.2 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.7717, allocations: 308 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.7718, allocations: 194 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.7718, allocations: 184.2 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.7719, allocations: 108.9 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.772, allocations: 184.3 kB / 1.228 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.772, allocations: 101 kB / 1.228 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.7721, allocations: 123.2 kB / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.7721, allocations: 0 / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002032/0.7723, allocations: 8 kB / 1.228 GB, free: 9.676 MB / 0.9512 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.0001132/0.7724, allocations: 186.4 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.118e-05/0.7724, allocations: 8 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7724, allocations: 0 / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.7724, allocations: 0 / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.7727, allocations: 463.6 kB / 1.229 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.773, allocations: 233.4 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.7732, allocations: 0.6943 MB / 1.23 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.7733, allocations: 7.984 kB / 1.23 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.7733, allocations: 7.438 kB / 1.23 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.7733, allocations: 0 / 1.23 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of Templates: time 0.002096/0.7754, allocations: 444.5 kB / 1.23 GB, free: 7.602 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches