Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 208.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.216/3.216, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.5 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3233, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009638/0.3329, allocations: 6.505 MB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007896/0.3408, allocations: 4.717 MB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.342, allocations: 75.5 kB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004649/0.3467, allocations: 1.582 MB / 1.377 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.3485, allocations: 0.6166 MB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.3494, allocations: 232.7 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002442/0.3518, allocations: 1.756 MB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.3523, allocations: 235.9 kB / 1.379 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3534, allocations: 0.7426 MB / 1.38 GB, free: 12.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.3545, allocations: 0.8239 MB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.3547, allocations: 80 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.3552, allocations: 203.7 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.3556, allocations: 334.5 kB / 1.381 GB, free: 11.49 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006404/0.3562, allocations: 0.5862 MB / 1.382 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.3588, allocations: 2.466 MB / 1.384 GB, free: 8.422 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3588, allocations: 0 / 1.384 GB, free: 8.422 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3588, allocations: 0 / 1.384 GB, free: 8.422 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.708e-05/0.3589, allocations: 0 / 1.384 GB, free: 8.422 MB / 1.076 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.003421/0.3623, allocations: 2.255 MB / 1.387 GB, free: 6.117 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3623, allocations: 8.031 kB / 1.387 GB, free: 6.109 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.3626, allocations: 211.5 kB / 1.387 GB, free: 5.902 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.3655, allocations: 1.618 MB / 1.388 GB, free: 4.227 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.3656, allocations: 29 kB / 1.388 GB, free: 4.199 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.3656, allocations: 39.92 kB / 1.388 GB, free: 4.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.3664, allocations: 472 kB / 1.389 GB, free: 3.691 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3664, allocations: 0 / 1.389 GB, free: 3.691 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.3665, allocations: 16 kB / 1.389 GB, free: 3.676 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/0.3665, allocations: 20.98 kB / 1.389 GB, free: 3.656 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006837/0.3672, allocations: 427.6 kB / 1.389 GB, free: 3.238 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.3703, allocations: 1.672 MB / 1.391 GB, free: 1.523 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3713, allocations: 0.4898 MB / 1.391 GB, free: 1.023 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.3717, allocations: 199.3 kB / 1.392 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3717, allocations: 4.281 kB / 1.392 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3717, allocations: 38.84 kB / 1.392 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.3717, allocations: 0 / 1.392 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.001038/0.3727, allocations: 0.6425 MB / 1.392 GB, free: 132 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3728, allocations: 55.39 kB / 1.392 GB, free: 64 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003348/0.3761, allocations: 2.462 MB / 1.395 GB, free: 13.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.3762, allocations: 33.7 kB / 1.395 GB, free: 13.53 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008371/0.377, allocations: 0.764 MB / 1.396 GB, free: 12.76 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3771, allocations: 118.9 kB / 1.396 GB, free: 12.64 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3772, allocations: 73.64 kB / 1.396 GB, free: 12.56 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3774, allocations: 322 kB / 1.396 GB, free: 12.24 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.3776, allocations: 131.9 kB / 1.396 GB, free: 12.11 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.3779, allocations: 207.2 kB / 1.396 GB, free: 11.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.3784, allocations: 321.7 kB / 1.397 GB, free: 11.58 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3784, allocations: 0 / 1.397 GB, free: 11.58 MB / 1.092 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007713/0.3791, allocations: 0.5352 MB / 1.397 GB, free: 11.04 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3792, allocations: 4 kB / 1.397 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3792, allocations: 7.922 kB / 1.397 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3792, allocations: 4 kB / 1.397 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.3795, allocations: 71.91 kB / 1.397 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3795, allocations: 3.984 kB / 1.397 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.3799, allocations: 23.92 kB / 1.397 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3799, allocations: 8 kB / 1.397 GB, free: 10.92 MB / 1.092 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.0008302/0.3807, allocations: 0.6925 MB / 1.398 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.381, allocations: 186.7 kB / 1.398 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.3813, allocations: 210.6 kB / 1.398 GB, free: 9.824 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3813, allocations: 4 kB / 1.398 GB, free: 9.82 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3813, allocations: 0 / 1.398 GB, free: 9.82 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3813, allocations: 7.922 kB / 1.398 GB, free: 9.812 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.3834, allocations: 1.381 MB / 1.4 GB, free: 8.379 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3834, allocations: 8.094 kB / 1.4 GB, free: 8.371 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.3837, allocations: 71.91 kB / 1.4 GB, free: 8.301 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3837, allocations: 4 kB / 1.4 GB, free: 8.297 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.3838, allocations: 15.92 kB / 1.4 GB, free: 8.281 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3838, allocations: 0 / 1.4 GB, free: 8.281 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3838, allocations: 4 kB / 1.4 GB, free: 8.277 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007824/0.3845, allocations: 0.6365 MB / 1.4 GB, free: 7.613 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006944/0.3852, allocations: 306.5 kB / 1.401 GB, free: 7.312 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.3854, allocations: 4 kB / 1.401 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.3858, allocations: 8 kB / 1.401 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.3858, allocations: 31.89 kB / 1.401 GB, free: 7.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3858, allocations: 8 kB / 1.401 GB, free: 7.262 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002405/0.3883, allocations: 1.763 MB / 1.402 GB, free: 5.48 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.3883, allocations: 0 / 1.402 GB, free: 5.48 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00064/0.3889, allocations: 239.7 kB / 1.403 GB, free: 5.246 MB / 1.092 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.0003943/0.3893, allocations: 166.1 kB / 1.403 GB, free: 5.078 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005612/0.3898, allocations: 331.7 kB / 1.403 GB, free: 4.754 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3899, allocations: 0 / 1.403 GB, free: 4.754 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.3901, allocations: 168.2 kB / 1.403 GB, free: 4.59 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.3922, allocations: 0.5877 MB / 1.404 GB, free: 4.016 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.3972, allocations: 3.381 MB / 1.407 GB, free: 0.582 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.3985, allocations: 1.178 MB / 1.408 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007298/0.3992, allocations: 306.6 kB / 1.409 GB, free: 15.05 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3994, allocations: 79.44 kB / 1.409 GB, free: 14.98 MB / 1.107 GB Notification: Performance of SimCode: time 5.21e-07/0.3994, allocations: 0 / 1.409 GB, free: 14.98 MB / 1.107 GB Notification: Performance of Templates: time 0.04136/0.4408, allocations: 24.17 MB / 1.432 GB, free: 7.25 MB / 1.123 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.040036328136921]