Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001097/0.001097, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.172/1.172, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.229/2.229, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5063, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006868/0.5132, allocations: 7.287 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005691/0.5189, allocations: 5.13 MB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006051/0.5195, allocations: 39.75 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003197/0.5227, allocations: 1.598 MB / 1.031 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009358/0.5237, allocations: 0.52 MB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.5243, allocations: 207.6 kB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.5257, allocations: 1.771 MB / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.5263, allocations: 0.5813 MB / 1.034 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.5269, allocations: 0.684 MB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.5277, allocations: 0.824 MB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.5278, allocations: 84 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.5281, allocations: 199.8 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.5284, allocations: 334.5 kB / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.529, allocations: 0.7961 MB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.5305, allocations: 2.195 MB / 1.038 GB, free: 12.37 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.5306, allocations: 3.938 kB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5306, allocations: 0 / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.5306, allocations: 0 / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002322/0.5329, allocations: 2.198 MB / 1.041 GB, free: 10.1 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.5329, allocations: 12.03 kB / 1.041 GB, free: 10.09 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.5331, allocations: 198.4 kB / 1.041 GB, free: 9.891 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.535, allocations: 1.567 MB / 1.042 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.535, allocations: 29 kB / 1.042 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.5351, allocations: 39.98 kB / 1.042 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.5357, allocations: 446.3 kB / 1.043 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5357, allocations: 7.984 kB / 1.043 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.5357, allocations: 12 kB / 1.043 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.5358, allocations: 20.98 kB / 1.043 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.5363, allocations: 431.6 kB / 1.043 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.5388, allocations: 2.331 MB / 1.046 GB, free: 4.797 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/0.5397, allocations: 0.5001 MB / 1.046 GB, free: 4.285 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.54, allocations: 205.2 kB / 1.046 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.54, allocations: 288 / 1.046 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.54, allocations: 38.84 kB / 1.046 GB, free: 4.035 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.102e-06/0.54, allocations: 3.938 kB / 1.046 GB, free: 4.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0008053/0.5408, allocations: 0.6453 MB / 1.047 GB, free: 3.379 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.5409, allocations: 55.41 kB / 1.047 GB, free: 3.312 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.5435, allocations: 2.575 MB / 1.05 GB, free: 0.707 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.5436, allocations: 33.7 kB / 1.05 GB, free: 0.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.5442, allocations: 0.7684 MB / 1.05 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.5443, allocations: 106.3 kB / 1.05 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-05/0.5444, allocations: 77.59 kB / 1.05 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.5445, allocations: 318.5 kB / 1.051 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.5447, allocations: 139.8 kB / 1.051 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.5449, allocations: 174.8 kB / 1.051 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.5453, allocations: 328.9 kB / 1.051 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5453, allocations: 4 kB / 1.051 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006131/0.5459, allocations: 0.5264 MB / 1.052 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5459, allocations: 9.562 kB / 1.052 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5459, allocations: 0 / 1.052 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.546, allocations: 0 / 1.052 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.5463, allocations: 75.89 kB / 1.052 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5463, allocations: 8.031 kB / 1.052 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.5466, allocations: 27.69 kB / 1.052 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.5466, allocations: 8 kB / 1.052 GB, free: 14.09 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * 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.00065/0.5473, allocations: 0.6931 MB / 1.053 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.5474, allocations: 189.6 kB / 1.053 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.5477, allocations: 219.1 kB / 1.053 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.5477, allocations: 4 kB / 1.053 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5477, allocations: 0 / 1.053 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5477, allocations: 4 kB / 1.053 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.5494, allocations: 1.585 MB / 1.055 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5494, allocations: 4 kB / 1.055 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.5497, allocations: 71.89 kB / 1.055 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5497, allocations: 4 kB / 1.055 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.5497, allocations: 4 kB / 1.055 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5497, allocations: 8.094 kB / 1.055 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5497, allocations: 3.938 kB / 1.055 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.5504, allocations: 0.6425 MB / 1.055 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.5508, allocations: 366.6 kB / 1.056 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.551, allocations: 11.94 kB / 1.056 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.5513, allocations: 15.91 kB / 1.056 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.5514, allocations: 31.89 kB / 1.056 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.5514, allocations: 8 kB / 1.056 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001971/0.5534, allocations: 1.847 MB / 1.058 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5534, allocations: 0 / 1.058 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005079/0.5539, allocations: 227.8 kB / 1.058 GB, free: 8.02 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.0003239/0.5542, allocations: 173.7 kB / 1.058 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005577/0.5548, allocations: 405.2 kB / 1.058 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5548, allocations: 0 / 1.058 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.555, allocations: 167.8 kB / 1.059 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.557, allocations: 0.6387 MB / 1.059 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.5609, allocations: 3.813 MB / 1.063 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.562, allocations: 1.751 MB / 1.065 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006803/0.5627, allocations: 344.9 kB / 1.065 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.5629, allocations: 91.44 kB / 1.065 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.5629, allocations: 0 / 1.065 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of Templates: time 0.03139/0.5943, allocations: 22.17 MB / 1.087 GB, free: 10.77 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches