Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001574/0.001574, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001613/0.001613, allocations: 189.5 kB / 16.25 MB, free: 6.648 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 469.8 MB / 0.742 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.33 kB / 0.908 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2979, allocations: 159.2 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009195/0.3071, allocations: 7.186 MB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008691/0.3159, allocations: 5.462 MB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.3175, allocations: 43.75 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004925/0.3224, allocations: 1.598 MB / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.3246, allocations: 0.5434 MB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3257, allocations: 344.4 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004053/0.3298, allocations: 2.964 MB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008135/0.3306, allocations: 0.5449 MB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.3326, allocations: 1.109 MB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.3347, allocations: 1.635 MB / 1.084 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004021/0.3352, allocations: 200 kB / 1.085 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007215/0.3359, allocations: 315.8 kB / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006678/0.3366, allocations: 0.7049 MB / 1.086 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.3379, allocations: 1.217 MB / 1.087 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.3417, allocations: 3.439 MB / 1.09 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3417, allocations: 0 / 1.09 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3418, allocations: 0 / 1.09 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.315e-05/0.3418, allocations: 0 / 1.09 GB, free: 3.227 MB / 0.8419 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.007/0.3488, allocations: 3.406 MB / 1.093 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3489, allocations: 12.03 kB / 1.093 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/0.3493, allocations: 245.9 kB / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.3524, allocations: 1.89 MB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.3524, allocations: 64.98 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.3526, allocations: 88 kB / 1.096 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.3538, allocations: 0.7169 MB / 1.096 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3539, allocations: 0 / 1.096 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.3539, allocations: 16 kB / 1.096 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3539, allocations: 12 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.3555, allocations: 0.9758 MB / 1.097 GB, free: 11.66 MB / 0.8575 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.01029/0.3658, allocations: 4.522 MB / 1.102 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.3672, allocations: 0.7899 MB / 1.103 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.3679, allocations: 0.5004 MB / 1.103 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.368, allocations: 4.719 kB / 1.103 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.368, allocations: 42.5 kB / 1.103 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 4.038e-06/0.368, allocations: 4 kB / 1.103 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.01008/0.3781, allocations: 3.457 MB / 1.106 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.3782, allocations: 59.36 kB / 1.107 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/0.3826, allocations: 2.976 MB / 1.109 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003621/0.383, allocations: 49.7 kB / 1.109 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009504/0.3839, allocations: 0.863 MB / 1.11 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.3841, allocations: 153.8 kB / 1.11 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006081/0.3847, allocations: 335.5 kB / 1.111 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3849, allocations: 361.9 kB / 1.111 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.3869, allocations: 1.37 MB / 1.112 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.3893, allocations: 1.624 MB / 1.114 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.392, allocations: 1.922 MB / 1.116 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.392, allocations: 0 / 1.116 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007384/0.3994, allocations: 4.09 MB / 1.12 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3994, allocations: 4 kB / 1.12 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3995, allocations: 4 kB / 1.12 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003285/0.4027, allocations: 1.105 MB / 1.121 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.404, allocations: 227.7 kB / 1.121 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.4161, allocations: 7.959 MB / 1.129 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.4183, allocations: 270 kB / 1.129 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.4186, allocations: 43.98 kB / 1.129 GB, free: 10.52 MB / 0.8887 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.001434/0.42, allocations: 0.8017 MB / 1.13 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.4204, allocations: 213.1 kB / 1.13 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.4209, allocations: 250.7 kB / 1.131 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4209, allocations: 4 kB / 1.131 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.421, allocations: 8.094 kB / 1.131 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.421, allocations: 7.922 kB / 1.131 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.4228, allocations: 1.236 MB / 1.132 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4228, allocations: 0 / 1.132 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.4229, allocations: 4 kB / 1.132 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.4261, allocations: 1.027 MB / 1.133 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.4261, allocations: 8 kB / 1.133 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.4395, allocations: 7.946 MB / 1.141 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4396, allocations: 4 kB / 1.141 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.4437, allocations: 1.956 MB / 1.142 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009713/0.4447, allocations: 453.9 kB / 1.143 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.4449, allocations: 4 kB / 1.143 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.4455, allocations: 35.8 kB / 1.143 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.4457, allocations: 39.95 kB / 1.143 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.4458, allocations: 12 kB / 1.143 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003185/0.4489, allocations: 2.055 MB / 1.145 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.449, allocations: 0 / 1.145 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001837/0.4508, allocations: 0.617 MB / 1.146 GB, free: 9.586 MB / 0.9044 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.000461/0.4513, allocations: 172.9 kB / 1.146 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005541/0.4568, allocations: 2.807 MB / 1.148 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4568, allocations: 0 / 1.148 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.4593, allocations: 1.043 MB / 1.149 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.4621, allocations: 0.6698 MB / 1.15 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.469, allocations: 4.691 MB / 1.155 GB, free: 168 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.4708, allocations: 1.908 MB / 1.157 GB, free: 14.22 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001249/0.4721, allocations: 387.4 kB / 1.157 GB, free: 13.84 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.4725, allocations: 99.44 kB / 1.157 GB, free: 13.74 MB / 0.92 GB Notification: Performance of SimCode: time 9.61e-07/0.4725, allocations: 0 / 1.157 GB, free: 13.74 MB / 0.92 GB Notification: Performance of Templates: time 0.07493/0.5474, allocations: 42.62 MB / 1.199 GB, free: 3.555 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches