Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.001353/0.001353, allocations: 109.3 kB / 16.46 MB, free: 6.508 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.001392/0.001392, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.152/3.152, allocations: 0.4899 GB / 0.7915 GB, free: 33.43 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.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") [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.002102/0.002102, allocations: 73.34 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2926, allocations: 176.1 MB / 1.321 GB, free: 2.684 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009655/0.3023, allocations: 7.293 MB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008594/0.3109, allocations: 5.593 MB / 1.334 GB, free: 5.734 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009622/0.3119, allocations: 75.44 kB / 1.334 GB, free: 5.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.316, allocations: 1.698 MB / 1.336 GB, free: 3.953 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.3175, allocations: 0.6243 MB / 1.336 GB, free: 3.324 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3186, allocations: 389.1 kB / 1.337 GB, free: 2.945 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.3219, allocations: 2.942 MB / 1.34 GB, free: 0 / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.3225, allocations: 390.1 kB / 1.34 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.3241, allocations: 1.152 MB / 1.341 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.3261, allocations: 1.639 MB / 1.343 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.3264, allocations: 196 kB / 1.343 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000655/0.3271, allocations: 323.8 kB / 1.343 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006918/0.3278, allocations: 0.7087 MB / 1.344 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.3291, allocations: 1.201 MB / 1.345 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.333, allocations: 3.709 MB / 1.349 GB, free: 6.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.333, allocations: 0 / 1.349 GB, free: 6.648 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.333, allocations: 4 kB / 1.349 GB, free: 6.645 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.942e-05/0.333, allocations: 0 / 1.349 GB, free: 6.645 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00722/0.3402, allocations: 3.541 MB / 1.352 GB, free: 3.031 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3403, allocations: 11.98 kB / 1.352 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.3407, allocations: 259.3 kB / 1.352 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.344, allocations: 2.017 MB / 1.354 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.3441, allocations: 65 kB / 1.354 GB, free: 0.625 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.3443, allocations: 88 kB / 1.354 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3455, allocations: 0.7129 MB / 1.355 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3455, allocations: 4 kB / 1.355 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.3455, allocations: 16 kB / 1.355 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3456, allocations: 12 kB / 1.355 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.3471, allocations: 0.9797 MB / 1.356 GB, free: 14.81 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.358, allocations: 4.496 MB / 1.36 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3594, allocations: 0.7466 MB / 1.361 GB, free: 9.418 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006757/0.3601, allocations: 468.5 kB / 1.362 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.3601, allocations: 4 kB / 1.362 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3601, allocations: 50.44 kB / 1.362 GB, free: 8.895 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.175e-06/0.3601, allocations: 0 / 1.362 GB, free: 8.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.01036/0.3705, allocations: 3.445 MB / 1.365 GB, free: 5.418 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3705, allocations: 59.34 kB / 1.365 GB, free: 5.348 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004365/0.3749, allocations: 2.945 MB / 1.368 GB, free: 2.391 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/0.3752, allocations: 53.7 kB / 1.368 GB, free: 2.332 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.3762, allocations: 0.8712 MB / 1.369 GB, free: 1.453 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.3764, allocations: 162.6 kB / 1.369 GB, free: 1.293 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006715/0.3771, allocations: 335.5 kB / 1.369 GB, free: 0.957 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3773, allocations: 361.9 kB / 1.37 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.3794, allocations: 1.374 MB / 1.371 GB, free: 15.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.3819, allocations: 1.628 MB / 1.373 GB, free: 13.58 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.3848, allocations: 1.918 MB / 1.375 GB, free: 11.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.3848, allocations: 4 kB / 1.375 GB, free: 11.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007924/0.3927, allocations: 4.075 MB / 1.379 GB, free: 7.562 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3927, allocations: 4 kB / 1.379 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3928, allocations: 0 / 1.379 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/0.3962, allocations: 1.112 MB / 1.38 GB, free: 6.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.3975, allocations: 223.7 kB / 1.38 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.4109, allocations: 7.956 MB / 1.388 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.4131, allocations: 274.5 kB / 1.388 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.4133, allocations: 40 kB / 1.388 GB, free: 13.82 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001321/0.4146, allocations: 0.8017 MB / 1.389 GB, free: 13 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/0.415, allocations: 226.5 kB / 1.389 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.4156, allocations: 250.7 kB / 1.389 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4156, allocations: 7.984 kB / 1.389 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/0.4157, allocations: 8 kB / 1.389 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4157, allocations: 0 / 1.389 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.4174, allocations: 1.232 MB / 1.39 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4174, allocations: 0 / 1.39 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.4175, allocations: 4 kB / 1.39 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003329/0.4208, allocations: 1.027 MB / 1.391 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.4208, allocations: 4 kB / 1.391 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.4343, allocations: 7.949 MB / 1.399 GB, free: 2.098 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4343, allocations: 4 kB / 1.399 GB, free: 2.094 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/0.4385, allocations: 1.935 MB / 1.401 GB, free: 140 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/0.4395, allocations: 455.2 kB / 1.401 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.4398, allocations: 15.98 kB / 1.401 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007632/0.4406, allocations: 19.97 kB / 1.401 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.4408, allocations: 39.94 kB / 1.402 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.4408, allocations: 12 kB / 1.402 GB, free: 15.59 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003641/0.4444, allocations: 2.036 MB / 1.404 GB, free: 13.54 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.4444, allocations: 0 / 1.404 GB, free: 13.54 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001887/0.4463, allocations: 0.6208 MB / 1.404 GB, free: 12.92 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004693/0.4468, allocations: 167.2 kB / 1.404 GB, free: 12.76 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005563/0.4524, allocations: 2.53 MB / 1.407 GB, free: 10.21 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4524, allocations: 0 / 1.407 GB, free: 10.21 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.4549, allocations: 1.024 MB / 1.408 GB, free: 9.172 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.4577, allocations: 0.6803 MB / 1.408 GB, free: 8.512 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006663/0.4643, allocations: 4.183 MB / 1.413 GB, free: 4.293 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/0.4661, allocations: 1.907 MB / 1.414 GB, free: 2.348 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001054/0.4672, allocations: 333.9 kB / 1.415 GB, free: 2.016 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.4675, allocations: 91.38 kB / 1.415 GB, free: 1.93 MB / 1.107 GB Notification: Performance of SimCode: time 1.182e-06/0.4675, allocations: 0 / 1.415 GB, free: 1.93 MB / 1.107 GB Notification: Performance of Templates: time 0.06986/0.5374, allocations: 42.61 MB / 1.456 GB, free: 7.742 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.408501203171909]