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.005013/0.005013, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001235/0.001234, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.158/1.158, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.954/1.954, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001076, allocations: 63.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.673, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002039/0.6751, allocations: 1.544 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.986e-05/0.6752, allocations: 31.17 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.6752, allocations: 1.688 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.6753, allocations: 11.22 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.366e-05/0.6754, allocations: 13.22 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.637e-05/0.6755, allocations: 21.91 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.6756, allocations: 43.2 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.6757, allocations: 31.94 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.6757, allocations: 21.02 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.6758, allocations: 26.53 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.6758, allocations: 5.219 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.6758, allocations: 4.219 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.6759, allocations: 21.45 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.6759, allocations: 28.59 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.676, allocations: 62.98 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.676, allocations: 4 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.676, allocations: 0 / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.676, allocations: 0 / 1.09 GB, free: 4.281 MB / 0.8575 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.0002752/0.6763, allocations: 361.9 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.6764, allocations: 9.625 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.6764, allocations: 5.625 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6765, allocations: 184.6 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.6765, allocations: 3.594 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.6765, allocations: 12.78 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.6767, allocations: 103.9 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.6767, allocations: 0.8438 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.6767, allocations: 9.297 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6767, allocations: 2 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.6768, allocations: 44.72 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.6772, allocations: 0.6463 MB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.6772, allocations: 166.2 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.6773, allocations: 80.14 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.6773, allocations: 79.89 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.6773, allocations: 106.9 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.6773, allocations: 1.094 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.521e-05/0.6774, allocations: 45.16 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.6774, allocations: 132.4 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.6775, allocations: 165 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-06/0.6775, allocations: 25.7 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.6776, allocations: 107.5 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.6776, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.6776, allocations: 17.88 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.6777, allocations: 319.8 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.6777, allocations: 2.375 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.6777, allocations: 24.5 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.6777, allocations: 32.06 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6777, allocations: 1.062 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.883e-05/0.6778, allocations: 56.06 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6779, allocations: 6.078 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6779, allocations: 1.281 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6779, allocations: 4.969 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.976e-05/0.6779, allocations: 4.578 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6779, allocations: 5.625 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.678, allocations: 7.578 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.678, allocations: 1.188 kB / 1.092 GB, free: 1.609 MB / 0.8575 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.522e-05/0.678, allocations: 195.9 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.6781, allocations: 109.2 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.6781, allocations: 119.4 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.6781, allocations: 186.1 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.6782, allocations: 176.8 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.885e-05/0.6782, allocations: 182.7 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.6784, allocations: 421 kB / 1.094 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/0.6785, allocations: 103 kB / 1.094 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.6785, allocations: 110.7 kB / 1.094 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-05/0.6785, allocations: 190.4 kB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.6786, allocations: 189.9 kB / 1.094 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.584e-05/0.6786, allocations: 178 kB / 1.094 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.051e-05/0.6787, allocations: 178 kB / 1.095 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.812e-05/0.6788, allocations: 316.1 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.6788, allocations: 190.2 kB / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.6789, allocations: 186.3 kB / 1.095 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.679, allocations: 102.6 kB / 1.095 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.6791, allocations: 185.9 kB / 1.096 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.6791, allocations: 102.6 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.6792, allocations: 131 kB / 1.096 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6792, allocations: 0 / 1.096 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002022/0.6794, allocations: 10.19 kB / 1.096 GB, free: 14.01 MB / 0.8731 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.0001063/0.6795, allocations: 180.8 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.9e-05/0.6796, allocations: 10.91 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6796, allocations: 0 / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.6796, allocations: 0.7188 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.6799, allocations: 466.1 kB / 1.096 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.6802, allocations: 227.5 kB / 1.097 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6805, allocations: 0.6912 MB / 1.097 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.6805, allocations: 5.281 kB / 1.097 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.6805, allocations: 13.84 kB / 1.097 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.6805, allocations: 0.8438 kB / 1.097 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.002016/0.6825, allocations: 438.2 kB / 1.098 GB, free: 12.4 MB / 0.8731 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