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.001539/0.001539, allocations: 110 kB / 19.7 MB, free: 2.25 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.001775/0.001775, allocations: 218 kB / 23.01 MB, free: 5.086 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.098/3.098, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] 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.002052/0.002052, allocations: 67.48 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 180.2 MB / 1.354 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008644/0.3419, allocations: 7.421 MB / 1.361 GB, free: 436 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00703/0.3489, allocations: 5.257 MB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006437/0.3495, allocations: 67.5 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.3533, allocations: 1.722 MB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.3545, allocations: 0.6166 MB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.3551, allocations: 238.5 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001837/0.3569, allocations: 1.762 MB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.3573, allocations: 235.9 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008446/0.3582, allocations: 0.7427 MB / 1.372 GB, free: 5.738 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.3591, allocations: 0.8278 MB / 1.373 GB, free: 4.906 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3592, allocations: 80 kB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.3597, allocations: 215.8 kB / 1.373 GB, free: 4.617 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.36, allocations: 342.4 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007053/0.3607, allocations: 0.7883 MB / 1.374 GB, free: 3.488 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.3631, allocations: 2.462 MB / 1.376 GB, free: 1.016 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3631, allocations: 0 / 1.376 GB, free: 1.016 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3632, allocations: 0 / 1.376 GB, free: 1.016 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.3632, allocations: 0 / 1.376 GB, free: 1.016 MB / 1.061 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.003074/0.3662, allocations: 2.255 MB / 1.379 GB, free: 14.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3663, allocations: 12.03 kB / 1.379 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.3665, allocations: 211.5 kB / 1.379 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.3692, allocations: 1.622 MB / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.3692, allocations: 25 kB / 1.38 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.3692, allocations: 39.98 kB / 1.38 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.3699, allocations: 442.3 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3699, allocations: 4 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.37, allocations: 16 kB / 1.381 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.37, allocations: 24.98 kB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.3707, allocations: 431.6 kB / 1.381 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.3738, allocations: 2.273 MB / 1.384 GB, free: 9.422 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009537/0.3748, allocations: 489.2 kB / 1.384 GB, free: 8.934 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.375, allocations: 189.3 kB / 1.384 GB, free: 8.746 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3751, allocations: 4.281 kB / 1.384 GB, free: 8.742 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3751, allocations: 38.84 kB / 1.384 GB, free: 8.695 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.3751, allocations: 0 / 1.384 GB, free: 8.695 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.0009453/0.376, allocations: 0.6541 MB / 1.385 GB, free: 8.035 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3761, allocations: 55.41 kB / 1.385 GB, free: 7.969 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.3792, allocations: 2.552 MB / 1.387 GB, free: 5.387 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3793, allocations: 33.7 kB / 1.387 GB, free: 5.348 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008145/0.3801, allocations: 0.7646 MB / 1.388 GB, free: 4.578 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.3802, allocations: 122.9 kB / 1.388 GB, free: 4.457 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3803, allocations: 69.66 kB / 1.388 GB, free: 4.383 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3804, allocations: 326.5 kB / 1.389 GB, free: 4.059 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.3806, allocations: 131.9 kB / 1.389 GB, free: 3.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3809, allocations: 177.4 kB / 1.389 GB, free: 3.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.3814, allocations: 329.6 kB / 1.389 GB, free: 3.426 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3814, allocations: 0 / 1.389 GB, free: 3.426 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007022/0.3821, allocations: 0.5313 MB / 1.39 GB, free: 2.887 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3821, allocations: 8 kB / 1.39 GB, free: 2.879 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3821, allocations: 0 / 1.39 GB, free: 2.879 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3821, allocations: 4.031 kB / 1.39 GB, free: 2.875 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.3824, allocations: 83.83 kB / 1.39 GB, free: 2.793 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3824, allocations: 4 kB / 1.39 GB, free: 2.789 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.3827, allocations: 31.72 kB / 1.39 GB, free: 2.758 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3828, allocations: 12 kB / 1.39 GB, free: 2.746 MB / 1.076 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.000761/0.3835, allocations: 0.6886 MB / 1.391 GB, free: 2.047 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.3837, allocations: 202.6 kB / 1.391 GB, free: 1.848 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.384, allocations: 215.2 kB / 1.391 GB, free: 1.633 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.384, allocations: 8 kB / 1.391 GB, free: 1.625 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.384, allocations: 0 / 1.391 GB, free: 1.625 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.384, allocations: 3.984 kB / 1.391 GB, free: 1.621 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.3861, allocations: 1.542 MB / 1.393 GB, free: 16 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3861, allocations: 0 / 1.393 GB, free: 16 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.3864, allocations: 79.89 kB / 1.393 GB, free: 15.94 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3864, allocations: 4.094 kB / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3864, allocations: 8 kB / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.3864, allocations: 3.938 kB / 1.393 GB, free: 15.92 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3864, allocations: 7.938 kB / 1.393 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.3872, allocations: 0.6398 MB / 1.393 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/0.3878, allocations: 306.6 kB / 1.394 GB, free: 14.95 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.3879, allocations: 8 kB / 1.394 GB, free: 14.94 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.3883, allocations: 15.98 kB / 1.394 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3883, allocations: 27.83 kB / 1.394 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.3883, allocations: 12 kB / 1.394 GB, free: 14.88 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002341/0.3907, allocations: 1.831 MB / 1.395 GB, free: 13.04 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.3907, allocations: 0 / 1.395 GB, free: 13.04 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005651/0.3912, allocations: 231.7 kB / 1.396 GB, free: 12.81 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.0003779/0.3916, allocations: 166.8 kB / 1.396 GB, free: 12.64 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.3921, allocations: 324.9 kB / 1.396 GB, free: 12.33 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3921, allocations: 0 / 1.396 GB, free: 12.33 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.3924, allocations: 160.3 kB / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.3944, allocations: 0.6373 MB / 1.397 GB, free: 11.55 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.3988, allocations: 3.216 MB / 1.4 GB, free: 8.277 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.4, allocations: 1.619 MB / 1.402 GB, free: 6.629 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.4002, allocations: 91.38 kB / 1.402 GB, free: 6.539 MB / 1.092 GB Notification: Performance of SimCode: time 5e-07/0.4002, allocations: 0 / 1.402 GB, free: 6.539 MB / 1.092 GB Notification: Performance of Templates: time 0.03384/0.4341, allocations: 24.87 MB / 1.426 GB, free: 13.8 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/jenkins1/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: 14.77072763000615]