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.001389/0.001389, allocations: 101.1 kB / 19.71 MB, free: 2.117 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.001563/0.001563, allocations: 209.6 kB / 23.01 MB, free: 4.926 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] 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.002038/0.002038, allocations: 69.64 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 176.1 MB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009974/0.3435, allocations: 6.514 MB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008265/0.3518, allocations: 4.725 MB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.3532, allocations: 75.44 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005219/0.3584, allocations: 1.578 MB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.3604, allocations: 0.6166 MB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009175/0.3613, allocations: 227.6 kB / 1.341 GB, free: 3.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.3639, allocations: 1.765 MB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.3644, allocations: 228 kB / 1.343 GB, free: 1.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.3656, allocations: 0.7427 MB / 1.343 GB, free: 332 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.3667, allocations: 0.8317 MB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.3669, allocations: 84 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.3675, allocations: 199.8 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.3678, allocations: 342.4 kB / 1.345 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006996/0.3685, allocations: 0.5823 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.3713, allocations: 2.466 MB / 1.348 GB, free: 11.81 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3713, allocations: 0 / 1.348 GB, free: 11.81 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3713, allocations: 0 / 1.348 GB, free: 11.81 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.3714, allocations: 4 kB / 1.348 GB, free: 11.81 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.003514/0.3749, allocations: 2.251 MB / 1.35 GB, free: 9.508 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3749, allocations: 11.97 kB / 1.35 GB, free: 9.496 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.3752, allocations: 211.6 kB / 1.35 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.3783, allocations: 1.615 MB / 1.352 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.3783, allocations: 28.98 kB / 1.352 GB, free: 7.59 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.3784, allocations: 39.98 kB / 1.352 GB, free: 7.551 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008192/0.3792, allocations: 472 kB / 1.352 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3793, allocations: 0 / 1.352 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.3793, allocations: 19.94 kB / 1.352 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.3793, allocations: 24.98 kB / 1.352 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/0.3801, allocations: 423.6 kB / 1.353 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.3835, allocations: 1.664 MB / 1.354 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.3846, allocations: 0.4893 MB / 1.355 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.3849, allocations: 197.2 kB / 1.355 GB, free: 4.215 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3849, allocations: 4.281 kB / 1.355 GB, free: 4.211 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.385, allocations: 34.84 kB / 1.355 GB, free: 4.168 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 2.195e-06/0.385, allocations: 0 / 1.355 GB, free: 4.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001203/0.3862, allocations: 0.6464 MB / 1.356 GB, free: 3.516 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3862, allocations: 55.41 kB / 1.356 GB, free: 3.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/0.3899, allocations: 2.458 MB / 1.358 GB, free: 0.957 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.3899, allocations: 37.7 kB / 1.358 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007638/0.3907, allocations: 0.764 MB / 1.359 GB, free: 148 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3908, allocations: 123 kB / 1.359 GB, free: 24 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.3909, allocations: 69.64 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3911, allocations: 318 kB / 1.359 GB, free: 15.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3913, allocations: 139.9 kB / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.3916, allocations: 203.2 kB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.3921, allocations: 321.1 kB / 1.36 GB, free: 14.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3921, allocations: 4 kB / 1.36 GB, free: 14.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000881/0.393, allocations: 0.5274 MB / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.393, allocations: 4 kB / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.393, allocations: 3.984 kB / 1.36 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.3931, allocations: 12.02 kB / 1.36 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.3934, allocations: 75.91 kB / 1.361 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3934, allocations: 0 / 1.361 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.3939, allocations: 27.83 kB / 1.361 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3939, allocations: 11.94 kB / 1.361 GB, free: 14.3 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.0008565/0.3947, allocations: 0.687 MB / 1.361 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.395, allocations: 190.7 kB / 1.361 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.3953, allocations: 210.6 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3953, allocations: 0 / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3953, allocations: 7.984 kB / 1.362 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.396, allocations: 298.6 kB / 1.362 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.3961, allocations: 4 kB / 1.362 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.3965, allocations: 15.92 kB / 1.362 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.3965, allocations: 19.97 kB / 1.362 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007963/0.3973, allocations: 480.6 kB / 1.362 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008199/0.3981, allocations: 0.7038 MB / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002258/0.3984, allocations: 143.9 kB / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002511/0.4009, allocations: 1.767 MB / 1.365 GB, free: 9.742 MB / 1.061 GB Notification: Performance of Backend: time 5.21e-07/0.4009, allocations: 0 / 1.365 GB, free: 9.742 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.4021, allocations: 324.9 kB / 1.365 GB, free: 9.426 MB / 1.061 GB Notification: Performance of SimCode: time 0.006671/0.4087, allocations: 4.233 MB / 1.369 GB, free: 5.137 MB / 1.061 GB Notification: Performance of Templates: time 0.04186/0.4506, allocations: 24.99 MB / 1.394 GB, free: 12.59 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/jenkins1/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.412223541999992]