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.001482/0.001482, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001487/0.001487, allocations: 191 kB / 17.2 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.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.459/2.459, allocations: 437 MB / 0.711 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 60.7 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.0101/0.3268, allocations: 7.328 MB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008177/0.3351, allocations: 5.2 MB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.3367, allocations: 35.81 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005242/0.3419, allocations: 1.691 MB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.3445, allocations: 0.5932 MB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.3457, allocations: 232.1 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.3488, allocations: 1.75 MB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.3498, allocations: 0.5775 MB / 1.035 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.3511, allocations: 0.6724 MB / 1.036 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.3525, allocations: 0.8162 MB / 1.036 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004075/0.3529, allocations: 80 kB / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008758/0.3538, allocations: 203.8 kB / 1.037 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004988/0.3543, allocations: 326.6 kB / 1.037 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.3556, allocations: 0.796 MB / 1.038 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.3584, allocations: 2.203 MB / 1.04 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3585, allocations: 0 / 1.04 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3585, allocations: 0 / 1.04 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.639e-05/0.3586, allocations: 0 / 1.04 GB, free: 4.078 MB / 0.8106 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.004153/0.3627, allocations: 2.202 MB / 1.042 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3628, allocations: 8.625 kB / 1.042 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.3632, allocations: 198.4 kB / 1.042 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.366, allocations: 1.571 MB / 1.044 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.366, allocations: 29 kB / 1.044 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.3661, allocations: 32 kB / 1.044 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.3669, allocations: 454.3 kB / 1.044 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3669, allocations: 0 / 1.044 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.3669, allocations: 19.98 kB / 1.044 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.367, allocations: 20.94 kB / 1.044 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006617/0.3677, allocations: 431.6 kB / 1.045 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.3717, allocations: 2.331 MB / 1.047 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3727, allocations: 0.4967 MB / 1.048 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.373, allocations: 201.3 kB / 1.048 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3731, allocations: 8.219 kB / 1.048 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3731, allocations: 42.78 kB / 1.048 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.3731, allocations: 4 kB / 1.048 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.001165/0.3743, allocations: 0.6458 MB / 1.048 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3744, allocations: 55.41 kB / 1.048 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/0.3786, allocations: 2.575 MB / 1.051 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.975e-05/0.3787, allocations: 37.69 kB / 1.051 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008227/0.3795, allocations: 0.7604 MB / 1.052 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.3797, allocations: 118.3 kB / 1.052 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.3798, allocations: 69.59 kB / 1.052 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.38, allocations: 326.5 kB / 1.052 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.3802, allocations: 135.9 kB / 1.052 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.3804, allocations: 175.1 kB / 1.053 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.3809, allocations: 329.5 kB / 1.053 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3809, allocations: 4 kB / 1.053 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008831/0.3818, allocations: 0.5186 MB / 1.053 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3818, allocations: 4 kB / 1.053 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3818, allocations: 0 / 1.053 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3819, allocations: 8.031 kB / 1.053 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.3822, allocations: 83.89 kB / 1.053 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3822, allocations: 0 / 1.053 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.3828, allocations: 31.59 kB / 1.053 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.3828, allocations: 12 kB / 1.053 GB, free: 5.789 MB / 0.8262 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.0008474/0.3837, allocations: 0.6847 MB / 1.054 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.384, allocations: 181.7 kB / 1.054 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.3843, allocations: 223.2 kB / 1.055 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.3844, allocations: 8 kB / 1.055 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3844, allocations: 0 / 1.055 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3844, allocations: 0 / 1.055 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.3867, allocations: 1.574 MB / 1.056 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3867, allocations: 0 / 1.056 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.387, allocations: 79.89 kB / 1.056 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.892e-06/0.387, allocations: 0 / 1.056 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.387, allocations: 12.09 kB / 1.056 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.387, allocations: 3.984 kB / 1.056 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3871, allocations: 7.938 kB / 1.056 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.3879, allocations: 0.6396 MB / 1.057 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.3885, allocations: 370.6 kB / 1.057 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.3888, allocations: 12 kB / 1.057 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.3893, allocations: 7.984 kB / 1.057 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3893, allocations: 27.91 kB / 1.057 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.3893, allocations: 8 kB / 1.057 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002928/0.3923, allocations: 1.847 MB / 1.059 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3923, allocations: 0 / 1.059 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008183/0.3931, allocations: 235.7 kB / 1.059 GB, free: 15.74 MB / 0.8419 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.0004438/0.3936, allocations: 174.9 kB / 1.059 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007466/0.3943, allocations: 401.2 kB / 1.06 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3943, allocations: 0 / 1.06 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.3946, allocations: 168.3 kB / 1.06 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.3974, allocations: 0.6234 MB / 1.061 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/0.4031, allocations: 3.195 MB / 1.064 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.4047, allocations: 1.615 MB / 1.065 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.405, allocations: 83.44 kB / 1.065 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of SimCode: time 7.51e-07/0.405, allocations: 0 / 1.065 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of Templates: time 0.4999/0.9049, allocations: 24.43 MB / 1.089 GB, free: 56.84 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/jenkins1/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