Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 199.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.222/2.222, allocations: 437 MB / 0.7103 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.91 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4823, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007012/0.4894, allocations: 7.227 MB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006037/0.4954, allocations: 5.551 MB / 1.03 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.496, allocations: 43.75 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.4992, allocations: 1.695 MB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009571/0.5002, allocations: 0.6166 MB / 1.032 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007928/0.501, allocations: 378.1 kB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.5032, allocations: 2.926 MB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.5037, allocations: 0.5565 MB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009677/0.5047, allocations: 1.07 MB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.5062, allocations: 1.62 MB / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.5065, allocations: 196 kB / 1.039 GB, free: 12.52 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.5071, allocations: 319.8 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005288/0.5076, allocations: 0.7049 MB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009704/0.5086, allocations: 1.209 MB / 1.041 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.511, allocations: 3.439 MB / 1.044 GB, free: 6.836 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.511, allocations: 0 / 1.044 GB, free: 6.836 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.511, allocations: 0 / 1.044 GB, free: 6.836 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.775e-05/0.5111, allocations: 0 / 1.044 GB, free: 6.836 MB / 0.795 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.005625/0.5167, allocations: 3.403 MB / 1.047 GB, free: 3.363 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.5167, allocations: 12.03 kB / 1.047 GB, free: 3.352 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.5171, allocations: 241.9 kB / 1.048 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.5194, allocations: 1.89 MB / 1.05 GB, free: 1.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.5195, allocations: 61 kB / 1.05 GB, free: 1.102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.5197, allocations: 88 kB / 1.05 GB, free: 1.016 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.5205, allocations: 0.7091 MB / 1.05 GB, free: 308 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5205, allocations: 7.922 kB / 1.05 GB, free: 300 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.5206, allocations: 20 kB / 1.05 GB, free: 280 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.5206, allocations: 16 kB / 1.05 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.5219, allocations: 0.9719 MB / 1.051 GB, free: 15.29 MB / 0.8106 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.008794/0.5307, allocations: 4.523 MB / 1.056 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.5318, allocations: 0.7854 MB / 1.057 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.5323, allocations: 0.4973 MB / 1.057 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.5323, allocations: 11.95 kB / 1.057 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.5324, allocations: 42.5 kB / 1.057 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.995e-06/0.5324, allocations: 7.922 kB / 1.057 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.008346/0.5407, allocations: 3.473 MB / 1.061 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.5408, allocations: 55.41 kB / 1.061 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.5438, allocations: 2.964 MB / 1.063 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.5439, allocations: 57.69 kB / 1.064 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/0.5447, allocations: 0.8552 MB / 1.064 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.5448, allocations: 169.7 kB / 1.065 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004947/0.5453, allocations: 335.5 kB / 1.065 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5454, allocations: 361.9 kB / 1.065 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.5471, allocations: 1.37 MB / 1.067 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.5489, allocations: 1.62 MB / 1.068 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.5512, allocations: 1.922 MB / 1.07 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5512, allocations: 4 kB / 1.07 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.00599/0.5572, allocations: 4.086 MB / 1.074 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5572, allocations: 4 kB / 1.074 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5572, allocations: 0 / 1.074 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.56, allocations: 1.112 MB / 1.075 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.561, allocations: 223.7 kB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.5711, allocations: 7.962 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.5729, allocations: 262 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.573, allocations: 44 kB / 1.083 GB, free: 14.13 MB / 0.8419 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.0009712/0.574, allocations: 0.7978 MB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.5742, allocations: 209.2 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.5746, allocations: 262.7 kB / 1.085 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5746, allocations: 4 kB / 1.085 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.5746, allocations: 12 kB / 1.085 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5746, allocations: 0 / 1.085 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.5758, allocations: 1.236 MB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5758, allocations: 4 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.5759, allocations: 4 kB / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/0.5785, allocations: 1.027 MB / 1.087 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.5785, allocations: 4 kB / 1.087 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.5886, allocations: 7.953 MB / 1.095 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5886, allocations: 0 / 1.095 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.5919, allocations: 1.949 MB / 1.096 GB, free: 436 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.5925, allocations: 450 kB / 1.097 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.5927, allocations: 8 kB / 1.097 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/0.5932, allocations: 31.81 kB / 1.097 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5934, allocations: 43.94 kB / 1.097 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.5934, allocations: 8 kB / 1.097 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002328/0.5957, allocations: 2.055 MB / 1.099 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.5957, allocations: 96 / 1.099 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001301/0.597, allocations: 0.6092 MB / 1.1 GB, free: 13.2 MB / 0.8575 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.0003279/0.5974, allocations: 166.2 kB / 1.1 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004152/0.6015, allocations: 2.819 MB / 1.103 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.6016, allocations: 64 / 1.103 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.6035, allocations: 1.047 MB / 1.104 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.6056, allocations: 0.6715 MB / 1.104 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.61, allocations: 4.181 MB / 1.108 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.6113, allocations: 1.911 MB / 1.11 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006932/0.612, allocations: 333.5 kB / 1.11 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.6123, allocations: 87.44 kB / 1.111 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.6123, allocations: 0 / 1.111 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of Templates: time 0.05142/0.6637, allocations: 42.12 MB / 1.152 GB, free: 8.234 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches