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.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 148 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.001173/0.001173, allocations: 196.9 kB / 16.53 MB, free: 6.656 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.174/1.174, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.407/2.407, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 64.72 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2416, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007285/0.2489, allocations: 7.231 MB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006196/0.2551, allocations: 5.548 MB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.2557, allocations: 43.75 kB / 1.081 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003228/0.2589, allocations: 1.691 MB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009411/0.2599, allocations: 0.6205 MB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.2607, allocations: 378 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002274/0.263, allocations: 2.934 MB / 1.086 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.2635, allocations: 0.541 MB / 1.087 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.2646, allocations: 1.074 MB / 1.088 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.2662, allocations: 1.62 MB / 1.089 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.2665, allocations: 200 kB / 1.09 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.2671, allocations: 315.8 kB / 1.09 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000611/0.2677, allocations: 0.701 MB / 1.091 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.2688, allocations: 1.209 MB / 1.092 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.2713, allocations: 3.435 MB / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2713, allocations: 0 / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2713, allocations: 4 kB / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.2713, allocations: 3.938 kB / 1.095 GB, free: 14.75 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.005758/0.2771, allocations: 3.398 MB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.2771, allocations: 11.97 kB / 1.098 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.2775, allocations: 241.9 kB / 1.099 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.2799, allocations: 1.902 MB / 1.101 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.2799, allocations: 65 kB / 1.101 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.2801, allocations: 92 kB / 1.101 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/0.2811, allocations: 0.713 MB / 1.101 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2811, allocations: 0 / 1.101 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.2812, allocations: 19.98 kB / 1.101 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.2812, allocations: 8 kB / 1.101 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2825, allocations: 0.9836 MB / 1.102 GB, free: 7.191 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.009052/0.2915, allocations: 4.519 MB / 1.107 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2927, allocations: 0.7925 MB / 1.108 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/0.2933, allocations: 0.5022 MB / 1.108 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.2933, allocations: 4 kB / 1.108 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2934, allocations: 42.5 kB / 1.108 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 1.773e-06/0.2934, allocations: 0 / 1.108 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.008621/0.302, allocations: 3.466 MB / 1.111 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.302, allocations: 59.41 kB / 1.112 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.3053, allocations: 2.976 MB / 1.114 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.3055, allocations: 49.7 kB / 1.114 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007742/0.3062, allocations: 0.8631 MB / 1.115 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3064, allocations: 153.8 kB / 1.115 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/0.3069, allocations: 335.5 kB / 1.116 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.307, allocations: 361.9 kB / 1.116 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.3087, allocations: 1.374 MB / 1.117 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.3107, allocations: 1.62 MB / 1.119 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.313, allocations: 1.922 MB / 1.121 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.313, allocations: 3.984 kB / 1.121 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006251/0.3193, allocations: 4.086 MB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3193, allocations: 8 kB / 1.125 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3193, allocations: 3.984 kB / 1.125 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/0.3222, allocations: 1.109 MB / 1.126 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.3233, allocations: 223.7 kB / 1.126 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.3339, allocations: 7.953 MB / 1.134 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.3357, allocations: 265.9 kB / 1.134 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.3358, allocations: 40 kB / 1.134 GB, free: 6.043 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.001021/0.3368, allocations: 0.8071 MB / 1.135 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.337, allocations: 213.2 kB / 1.135 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.3374, allocations: 262.6 kB / 1.136 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3374, allocations: 4 kB / 1.136 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/0.3374, allocations: 8 kB / 1.136 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3374, allocations: 96 / 1.136 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.3386, allocations: 1.236 MB / 1.137 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3386, allocations: 0 / 1.137 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.3387, allocations: 8 kB / 1.137 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/0.3413, allocations: 1.035 MB / 1.138 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.3414, allocations: 4 kB / 1.138 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.3518, allocations: 7.933 MB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3518, allocations: 7.938 kB / 1.146 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.3551, allocations: 1.957 MB / 1.147 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005882/0.3557, allocations: 450 kB / 1.148 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.3559, allocations: 11.98 kB / 1.148 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/0.3565, allocations: 27.88 kB / 1.148 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3566, allocations: 35.94 kB / 1.148 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.3566, allocations: 12 kB / 1.148 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002395/0.359, allocations: 2.052 MB / 1.15 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/0.359, allocations: 4 kB / 1.15 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001352/0.3604, allocations: 0.6209 MB / 1.151 GB, free: 5.117 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.0003483/0.3607, allocations: 153.1 kB / 1.151 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00446/0.3652, allocations: 2.811 MB / 1.153 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3652, allocations: 4 kB / 1.153 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.3673, allocations: 1.031 MB / 1.154 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.3695, allocations: 0.683 MB / 1.155 GB, free: 432 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.3742, allocations: 4.177 MB / 1.159 GB, free: 12.22 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.3756, allocations: 1.915 MB / 1.161 GB, free: 10.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007811/0.3763, allocations: 325.6 kB / 1.161 GB, free: 9.945 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.3766, allocations: 83.44 kB / 1.161 GB, free: 9.863 MB / 0.92 GB Notification: Performance of SimCode: time 5.2e-07/0.3766, allocations: 0 / 1.161 GB, free: 9.863 MB / 0.92 GB Notification: Performance of Templates: time 0.05313/0.4298, allocations: 42.13 MB / 1.203 GB, free: 160 kB / 0.9512 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=480 -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