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.001535/0.001535, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00164/0.00164, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 71.88 kB / 0.9516 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8815, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009487/0.891, allocations: 7.238 MB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.9028, allocations: 5.535 MB / 1.101 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.9056, allocations: 56.12 kB / 1.101 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007095/0.9127, allocations: 1.696 MB / 1.103 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.9164, allocations: 0.6247 MB / 1.104 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.9184, allocations: 379.1 kB / 1.104 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006926/0.9253, allocations: 2.952 MB / 1.107 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.9269, allocations: 0.5439 MB / 1.107 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.9306, allocations: 1.109 MB / 1.108 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00405/0.9347, allocations: 1.614 MB / 1.11 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.9364, allocations: 199.8 kB / 1.11 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.9389, allocations: 318.3 kB / 1.11 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.9409, allocations: 0.7047 MB / 1.111 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004734/0.9457, allocations: 1.208 MB / 1.112 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008068/0.9537, allocations: 3.675 MB / 1.116 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9538, allocations: 0 / 1.116 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9538, allocations: 0 / 1.116 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001316/0.9539, allocations: 4 kB / 1.116 GB, free: 6.066 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.01334/0.9673, allocations: 3.456 MB / 1.119 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.9673, allocations: 8.625 kB / 1.119 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.9684, allocations: 243.5 kB / 1.12 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/0.9734, allocations: 1.992 MB / 1.121 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.9734, allocations: 61.78 kB / 1.122 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.9737, allocations: 88.19 kB / 1.122 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.9752, allocations: 0.7144 MB / 1.122 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.9753, allocations: 0 / 1.122 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.9753, allocations: 16.72 kB / 1.122 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.9754, allocations: 11.66 kB / 1.122 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.9772, allocations: 0.9775 MB / 1.123 GB, free: 2.656 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.01352/0.9907, allocations: 4.493 MB / 1.128 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.9924, allocations: 0.7858 MB / 1.128 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008189/0.9932, allocations: 0.4952 MB / 1.129 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.9933, allocations: 7.703 kB / 1.129 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.9933, allocations: 45.61 kB / 1.129 GB, free: 484 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 3.868e-06/0.9934, allocations: 0 / 1.129 GB, free: 484 kB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.01293/1.006, allocations: 3.466 MB / 1.132 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.006, allocations: 60.09 kB / 1.132 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006505/1.013, allocations: 2.946 MB / 1.135 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0009044/1.014, allocations: 53.48 kB / 1.135 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.015, allocations: 0.8553 MB / 1.136 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/1.015, allocations: 160.8 kB / 1.136 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007564/1.016, allocations: 331 kB / 1.137 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002111/1.016, allocations: 368 kB / 1.137 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/1.019, allocations: 1.37 MB / 1.138 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/1.021, allocations: 1.624 MB / 1.14 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/1.025, allocations: 1.925 MB / 1.142 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.025, allocations: 0 / 1.142 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008648/1.033, allocations: 4.089 MB / 1.146 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.033, allocations: 9.297 kB / 1.146 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.033, allocations: 96 / 1.146 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/1.037, allocations: 1.105 MB / 1.147 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.038, allocations: 225.5 kB / 1.147 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/1.051, allocations: 7.956 MB / 1.155 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/1.055, allocations: 262.3 kB / 1.155 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/1.055, allocations: 45.45 kB / 1.155 GB, free: 3.457 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.002088/1.057, allocations: 0.8006 MB / 1.156 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008604/1.058, allocations: 213.6 kB / 1.156 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008925/1.059, allocations: 259.1 kB / 1.156 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.059, allocations: 5.375 kB / 1.156 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-05/1.059, allocations: 11.72 kB / 1.156 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.059, allocations: 0 / 1.156 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/1.062, allocations: 1.224 MB / 1.158 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.062, allocations: 0 / 1.158 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.063, allocations: 3.719 kB / 1.158 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005098/1.068, allocations: 1.025 MB / 1.159 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/1.068, allocations: 6.312 kB / 1.159 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/1.086, allocations: 7.93 MB / 1.166 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.086, allocations: 4 kB / 1.166 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004793/1.091, allocations: 1.952 MB / 1.168 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.092, allocations: 450.7 kB / 1.169 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/1.093, allocations: 6.062 kB / 1.169 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/1.094, allocations: 32.88 kB / 1.169 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.094, allocations: 38.16 kB / 1.169 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/1.094, allocations: 11.06 kB / 1.169 GB, free: 11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003625/1.098, allocations: 2.038 MB / 1.171 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.098, allocations: 0 / 1.171 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003229/1.101, allocations: 0.6092 MB / 1.171 GB, free: 8.719 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.0006036/1.101, allocations: 158.5 kB / 1.172 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006792/1.108, allocations: 2.815 MB / 1.174 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.108, allocations: 0 / 1.174 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/1.111, allocations: 1.032 MB / 1.175 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/1.115, allocations: 0.6746 MB / 1.176 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009054/1.124, allocations: 3.958 MB / 1.18 GB, free: 40 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/1.127, allocations: 1.785 MB / 1.182 GB, free: 14.22 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.128, allocations: 87.44 kB / 1.182 GB, free: 14.14 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/1.128, allocations: 0 / 1.182 GB, free: 14.14 MB / 0.92 GB Notification: Performance of Templates: time 0.07176/1.2, allocations: 45.92 MB / 1.226 GB, free: 424 kB / 0.9512 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/jenkins1/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