Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001873/0.001873, 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.001615/0.001615, allocations: 209.5 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.185/3.185, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002127/0.002127, allocations: 63.91 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008714/0.3159, allocations: 6.5 MB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007469/0.3234, allocations: 4.714 MB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.3244, allocations: 71.5 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.3287, allocations: 1.578 MB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.3302, allocations: 0.6166 MB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.331, allocations: 231.8 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.3331, allocations: 1.769 MB / 1.341 GB, free: 2.238 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.3336, allocations: 228 kB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009858/0.3346, allocations: 0.7466 MB / 1.342 GB, free: 1.238 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.3356, allocations: 0.8278 MB / 1.342 GB, free: 416 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.3358, allocations: 80 kB / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.3363, allocations: 199.8 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.3366, allocations: 334.4 kB / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006138/0.3373, allocations: 0.5901 MB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.3398, allocations: 2.459 MB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3398, allocations: 0 / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3398, allocations: 0 / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.608e-05/0.3399, allocations: 0 / 1.346 GB, free: 12.74 MB / 1.045 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.003363/0.3432, allocations: 2.265 MB / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3433, allocations: 8.031 kB / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.3436, allocations: 207.6 kB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.3465, allocations: 1.615 MB / 1.35 GB, free: 8.547 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.3465, allocations: 32.98 kB / 1.35 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.3466, allocations: 39.94 kB / 1.35 GB, free: 8.477 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007683/0.3473, allocations: 472 kB / 1.351 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3474, allocations: 0 / 1.351 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.3474, allocations: 19.97 kB / 1.351 GB, free: 7.984 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.3474, allocations: 21 kB / 1.351 GB, free: 7.965 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.3481, allocations: 419.6 kB / 1.351 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.3512, allocations: 1.68 MB / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3522, allocations: 0.4893 MB / 1.353 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.3525, allocations: 197.2 kB / 1.353 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3526, allocations: 288 / 1.353 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.3526, allocations: 38.84 kB / 1.353 GB, free: 5.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.3526, allocations: 0 / 1.353 GB, free: 5.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001016/0.3536, allocations: 0.6463 MB / 1.354 GB, free: 4.434 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3536, allocations: 55.41 kB / 1.354 GB, free: 4.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00326/0.3569, allocations: 2.466 MB / 1.356 GB, free: 1.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.3569, allocations: 33.7 kB / 1.356 GB, free: 1.828 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000784/0.3577, allocations: 0.7601 MB / 1.357 GB, free: 1.062 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3578, allocations: 119 kB / 1.357 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.358, allocations: 73.64 kB / 1.357 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3581, allocations: 318 kB / 1.358 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3583, allocations: 135.9 kB / 1.358 GB, free: 428 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.3586, allocations: 207.1 kB / 1.358 GB, free: 208 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.3591, allocations: 317.1 kB / 1.358 GB, free: 15.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3591, allocations: 0 / 1.358 GB, free: 15.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007614/0.3599, allocations: 0.5352 MB / 1.359 GB, free: 15.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3599, allocations: 8.031 kB / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3599, allocations: 0 / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3599, allocations: 0 / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.3602, allocations: 83.89 kB / 1.359 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.3602, allocations: 0 / 1.359 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.3606, allocations: 23.84 kB / 1.359 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3606, allocations: 12 kB / 1.359 GB, free: 15.22 MB / 1.061 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.0008185/0.3614, allocations: 0.6852 MB / 1.36 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.3616, allocations: 190.7 kB / 1.36 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.3619, allocations: 214.6 kB / 1.36 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.362, allocations: 4 kB / 1.36 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.362, allocations: 3.938 kB / 1.36 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.362, allocations: 3.984 kB / 1.36 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.3641, allocations: 1.389 MB / 1.361 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3641, allocations: 4 kB / 1.361 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.3644, allocations: 71.89 kB / 1.361 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3644, allocations: 4 kB / 1.361 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3644, allocations: 4 kB / 1.361 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3644, allocations: 8.094 kB / 1.361 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3644, allocations: 3.938 kB / 1.361 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.3651, allocations: 0.6394 MB / 1.362 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006716/0.3658, allocations: 306.5 kB / 1.362 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.366, allocations: 4 kB / 1.362 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.3663, allocations: 11.94 kB / 1.362 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.3664, allocations: 23.89 kB / 1.362 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.3664, allocations: 12 kB / 1.362 GB, free: 11.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00237/0.3688, allocations: 1.763 MB / 1.364 GB, free: 9.781 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3688, allocations: 0 / 1.364 GB, free: 9.781 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006237/0.3694, allocations: 239.7 kB / 1.364 GB, free: 9.547 MB / 1.061 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.0003983/0.3698, allocations: 168.2 kB / 1.365 GB, free: 9.383 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005496/0.3704, allocations: 328.8 kB / 1.365 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3704, allocations: 0 / 1.365 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.3706, allocations: 163.8 kB / 1.365 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.3727, allocations: 0.5854 MB / 1.366 GB, free: 8.324 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.3775, allocations: 3.38 MB / 1.369 GB, free: 4.895 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.3788, allocations: 1.174 MB / 1.37 GB, free: 3.676 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007088/0.3795, allocations: 302.7 kB / 1.37 GB, free: 3.375 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.3797, allocations: 79.44 kB / 1.37 GB, free: 3.297 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/0.3797, allocations: 0 / 1.37 GB, free: 3.297 MB / 1.061 GB Notification: Performance of Templates: time 0.03977/0.4195, allocations: 24.2 MB / 1.394 GB, free: 11.57 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.157402031123638]