Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0052/0.005201, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.00134/0.00134, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.118/2.118, allocations: 390.2 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 63.06 kB / 0.9509 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2296, allocations: 140.4 MB / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007315/0.237, allocations: 7.235 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006898/0.2439, allocations: 5.539 MB / 1.101 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009539/0.2449, allocations: 55.75 kB / 1.101 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00371/0.2486, allocations: 1.695 MB / 1.102 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.2499, allocations: 0.6243 MB / 1.103 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008547/0.2508, allocations: 383.2 kB / 1.103 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002285/0.2531, allocations: 2.942 MB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005562/0.2536, allocations: 0.541 MB / 1.107 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.2547, allocations: 1.113 MB / 1.108 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.2562, allocations: 1.612 MB / 1.109 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.2565, allocations: 196 kB / 1.109 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.257, allocations: 319.8 kB / 1.11 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005591/0.2575, allocations: 0.701 MB / 1.11 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.2586, allocations: 1.213 MB / 1.112 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.2613, allocations: 3.69 MB / 1.115 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2614, allocations: 3.938 kB / 1.115 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2614, allocations: 0 / 1.115 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.2614, allocations: 0 / 1.115 GB, free: 5.387 MB / 0.8731 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.005897/0.2673, allocations: 3.53 MB / 1.119 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2673, allocations: 8.031 kB / 1.119 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.2677, allocations: 267.2 kB / 1.119 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.2707, allocations: 2.001 MB / 1.121 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.2707, allocations: 61 kB / 1.121 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.2709, allocations: 88 kB / 1.121 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000951/0.2719, allocations: 0.7207 MB / 1.122 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2719, allocations: 0 / 1.122 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.2719, allocations: 24 kB / 1.122 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.272, allocations: 12 kB / 1.122 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.2732, allocations: 0.9719 MB / 1.123 GB, free: 13.57 MB / 0.8887 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.009266/0.2825, allocations: 4.5 MB / 1.127 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.2837, allocations: 0.7868 MB / 1.128 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.2843, allocations: 0.4934 MB / 1.128 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.2843, allocations: 15.95 kB / 1.128 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.2843, allocations: 38.5 kB / 1.128 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 1.432e-06/0.2843, allocations: 0 / 1.128 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.008615/0.293, allocations: 3.483 MB / 1.132 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.293, allocations: 63.34 kB / 1.132 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.2961, allocations: 2.949 MB / 1.135 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.2962, allocations: 53.7 kB / 1.135 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007607/0.297, allocations: 0.8556 MB / 1.136 GB, free: 104 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.2971, allocations: 174.5 kB / 1.136 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/0.2976, allocations: 335.5 kB / 1.136 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2978, allocations: 365.9 kB / 1.136 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.2995, allocations: 1.366 MB / 1.138 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.3015, allocations: 1.624 MB / 1.139 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.3039, allocations: 1.918 MB / 1.141 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3039, allocations: 0 / 1.141 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006164/0.3101, allocations: 4.103 MB / 1.145 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3101, allocations: 8 kB / 1.145 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3101, allocations: 0 / 1.145 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.3129, allocations: 1.105 MB / 1.146 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.314, allocations: 231.7 kB / 1.147 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.3245, allocations: 7.954 MB / 1.154 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.326, allocations: 262.5 kB / 1.155 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.3262, allocations: 44 kB / 1.155 GB, free: 12.43 MB / 0.92 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.0009216/0.3271, allocations: 0.8056 MB / 1.155 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.3273, allocations: 226.5 kB / 1.156 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.3277, allocations: 254.7 kB / 1.156 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3277, allocations: 7.938 kB / 1.156 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.3277, allocations: 8 kB / 1.156 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3277, allocations: 3.984 kB / 1.156 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.329, allocations: 1.228 MB / 1.157 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.329, allocations: 3.984 kB / 1.157 GB, free: 9.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.329, allocations: 8 kB / 1.157 GB, free: 9.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/0.3317, allocations: 1.02 MB / 1.158 GB, free: 8.809 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.3318, allocations: 4 kB / 1.158 GB, free: 8.805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.3421, allocations: 7.938 MB / 1.166 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3421, allocations: 0 / 1.166 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.3454, allocations: 1.965 MB / 1.168 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/0.3461, allocations: 455.3 kB / 1.168 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.3463, allocations: 8 kB / 1.168 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.3469, allocations: 28.03 kB / 1.168 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.347, allocations: 51.81 kB / 1.168 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.347, allocations: 8 kB / 1.168 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002362/0.3494, allocations: 2.04 MB / 1.17 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3494, allocations: 0 / 1.17 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001175/0.3506, allocations: 0.6091 MB / 1.171 GB, free: 11.51 MB / 0.9356 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.0003403/0.3509, allocations: 172.8 kB / 1.171 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004237/0.3552, allocations: 2.812 MB / 1.174 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3552, allocations: 4.062 kB / 1.174 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/0.3572, allocations: 1.043 MB / 1.175 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.3593, allocations: 0.6777 MB / 1.175 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.3644, allocations: 4.18 MB / 1.18 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.3658, allocations: 1.919 MB / 1.181 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006777/0.3665, allocations: 333.9 kB / 1.182 GB, free: 308 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.3668, allocations: 87.44 kB / 1.182 GB, free: 220 kB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.3668, allocations: 0 / 1.182 GB, free: 220 kB / 0.9356 GB Notification: Performance of Templates: time 0.05521/0.422, allocations: 42.28 MB / 1.223 GB, free: 6.355 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches