Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001608/0.001608, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 192 kB / 16.25 MB, free: 6.586 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 482.3 MB / 0.7543 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 70.44 kB / 0.9233 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3244, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009259/0.3337, allocations: 7.176 MB / 1.089 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008758/0.3425, allocations: 5.476 MB / 1.094 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.3437, allocations: 35.81 kB / 1.094 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004993/0.3487, allocations: 1.602 MB / 1.096 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.3506, allocations: 0.5472 MB / 1.096 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3517, allocations: 343.5 kB / 1.097 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003785/0.3555, allocations: 2.955 MB / 1.099 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008379/0.3563, allocations: 0.5488 MB / 1.1 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.3581, allocations: 1.109 MB / 1.101 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.36, allocations: 1.635 MB / 1.103 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.3605, allocations: 200 kB / 1.103 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.3612, allocations: 323.8 kB / 1.103 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.3619, allocations: 0.6972 MB / 1.104 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.3633, allocations: 1.209 MB / 1.105 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.367, allocations: 3.443 MB / 1.108 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.367, allocations: 0 / 1.108 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.537e-06/0.3671, allocations: 0 / 1.108 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.331e-05/0.3671, allocations: 3.938 kB / 1.108 GB, free: 2.227 MB / 0.8575 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.007224/0.3744, allocations: 3.398 MB / 1.112 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3744, allocations: 12.03 kB / 1.112 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004956/0.3749, allocations: 245.8 kB / 1.112 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.3781, allocations: 1.89 MB / 1.114 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.3782, allocations: 61 kB / 1.114 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.3784, allocations: 88 kB / 1.114 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.3796, allocations: 0.713 MB / 1.115 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3796, allocations: 3.984 kB / 1.115 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.3796, allocations: 20 kB / 1.115 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3797, allocations: 16 kB / 1.115 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.3813, allocations: 0.9719 MB / 1.116 GB, free: 10.68 MB / 0.8731 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.01064/0.3919, allocations: 4.523 MB / 1.12 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3934, allocations: 0.7811 MB / 1.121 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.3941, allocations: 0.4996 MB / 1.121 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.3941, allocations: 4 kB / 1.121 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3942, allocations: 50.44 kB / 1.121 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.485e-06/0.3942, allocations: 0 / 1.121 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.01034/0.4045, allocations: 3.473 MB / 1.125 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4046, allocations: 55.41 kB / 1.125 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/0.4088, allocations: 2.98 MB / 1.128 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003236/0.4092, allocations: 49.7 kB / 1.128 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009625/0.4102, allocations: 0.8514 MB / 1.129 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.4104, allocations: 161.8 kB / 1.129 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006163/0.411, allocations: 335.5 kB / 1.129 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4112, allocations: 365.9 kB / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.4132, allocations: 1.37 MB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.4156, allocations: 1.628 MB / 1.132 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.4184, allocations: 1.918 MB / 1.134 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4184, allocations: 4 kB / 1.134 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007677/0.4261, allocations: 4.086 MB / 1.138 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4261, allocations: 8 kB / 1.138 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4261, allocations: 0 / 1.138 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/0.4295, allocations: 1.116 MB / 1.139 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4307, allocations: 227.7 kB / 1.14 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.4436, allocations: 7.947 MB / 1.147 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.4457, allocations: 269.9 kB / 1.148 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.446, allocations: 43.98 kB / 1.148 GB, free: 9.52 MB / 0.9044 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.001278/0.4472, allocations: 0.8017 MB / 1.148 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.4476, allocations: 213.2 kB / 1.149 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.4481, allocations: 258.7 kB / 1.149 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4481, allocations: 4 kB / 1.149 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/0.4481, allocations: 12 kB / 1.149 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4481, allocations: 3.984 kB / 1.149 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.4498, allocations: 1.232 MB / 1.15 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4498, allocations: 0 / 1.15 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.4499, allocations: 8 kB / 1.15 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003174/0.4531, allocations: 1.02 MB / 1.151 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.4531, allocations: 12 kB / 1.151 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.4659, allocations: 7.945 MB / 1.159 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.466, allocations: 0 / 1.159 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.4702, allocations: 1.962 MB / 1.161 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.4712, allocations: 446 kB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.4714, allocations: 8 kB / 1.161 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/0.4721, allocations: 43.8 kB / 1.161 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.4722, allocations: 31.95 kB / 1.161 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.4723, allocations: 12 kB / 1.161 GB, free: 11.27 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00308/0.4754, allocations: 2.055 MB / 1.163 GB, free: 9.203 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4754, allocations: 0 / 1.163 GB, free: 9.203 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001963/0.4774, allocations: 0.6171 MB / 1.164 GB, free: 8.586 MB / 0.92 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.0004357/0.4778, allocations: 173.4 kB / 1.164 GB, free: 8.418 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005253/0.4831, allocations: 2.815 MB / 1.167 GB, free: 5.586 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4831, allocations: 0 / 1.167 GB, free: 5.586 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.4855, allocations: 1.039 MB / 1.168 GB, free: 4.531 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.4882, allocations: 0.6738 MB / 1.168 GB, free: 3.871 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.4948, allocations: 4.693 MB / 1.173 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.4965, allocations: 1.908 MB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001246/0.4978, allocations: 379.5 kB / 1.175 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.4982, allocations: 99.44 kB / 1.175 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.4982, allocations: 0 / 1.175 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.07802/0.5762, allocations: 42.62 MB / 1.217 GB, free: 2.527 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches