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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001184/0.001184, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.33/2.33, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 66.56 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2259, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006876/0.2328, allocations: 7.184 MB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006234/0.239, allocations: 5.481 MB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005934/0.2397, allocations: 39.75 kB / 1.065 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.2429, allocations: 1.583 MB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009459/0.2439, allocations: 0.5472 MB / 1.067 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.2446, allocations: 339.5 kB / 1.067 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.2469, allocations: 3.121 MB / 1.07 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005128/0.2475, allocations: 0.505 MB / 1.07 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009763/0.2484, allocations: 0.9879 MB / 1.071 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.2498, allocations: 1.565 MB / 1.073 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.2501, allocations: 128 kB / 1.073 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.2506, allocations: 243.8 kB / 1.073 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005224/0.2512, allocations: 0.6307 MB / 1.074 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009771/0.2522, allocations: 1.135 MB / 1.075 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.2544, allocations: 3.232 MB / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2544, allocations: 4 kB / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2544, allocations: 0 / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.2544, allocations: 0 / 1.078 GB, free: 14.03 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.005358/0.2598, allocations: 3.36 MB / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2598, allocations: 12.03 kB / 1.081 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.2602, allocations: 241.9 kB / 1.082 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.2626, allocations: 1.882 MB / 1.084 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.2627, allocations: 72.88 kB / 1.084 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.2629, allocations: 88 kB / 1.084 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.2638, allocations: 0.709 MB / 1.084 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2638, allocations: 7.984 kB / 1.084 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.2639, allocations: 20 kB / 1.084 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2639, allocations: 12 kB / 1.084 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.2652, allocations: 0.9758 MB / 1.085 GB, free: 6.516 MB / 0.8419 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.008625/0.2739, allocations: 4.523 MB / 1.09 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.275, allocations: 0.7807 MB / 1.091 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.2756, allocations: 0.5005 MB / 1.091 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.2756, allocations: 4.719 kB / 1.091 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.2757, allocations: 42.5 kB / 1.091 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.2757, allocations: 0 / 1.091 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.008173/0.2838, allocations: 3.473 MB / 1.094 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.2839, allocations: 59.36 kB / 1.095 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/0.2872, allocations: 2.968 MB / 1.097 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.2873, allocations: 53.7 kB / 1.097 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/0.2881, allocations: 0.8552 MB / 1.098 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.2883, allocations: 165.8 kB / 1.098 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/0.2888, allocations: 331.5 kB / 1.099 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2889, allocations: 361.9 kB / 1.099 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.2906, allocations: 1.374 MB / 1.1 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.2927, allocations: 1.62 MB / 1.102 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.295, allocations: 1.922 MB / 1.104 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2951, allocations: 0 / 1.104 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006306/0.3014, allocations: 4.086 MB / 1.108 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3014, allocations: 7.984 kB / 1.108 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3014, allocations: 96 / 1.108 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.3043, allocations: 1.105 MB / 1.109 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.3053, allocations: 223.7 kB / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009951/0.3153, allocations: 7.29 MB / 1.116 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.3169, allocations: 262 kB / 1.117 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.3171, allocations: 47.98 kB / 1.117 GB, free: 6.055 MB / 0.8731 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.001066/0.3182, allocations: 0.8018 MB / 1.117 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.3185, allocations: 221 kB / 1.118 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/0.3189, allocations: 254.7 kB / 1.118 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3189, allocations: 4 kB / 1.118 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.319, allocations: 8 kB / 1.118 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.319, allocations: 3.984 kB / 1.118 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.3204, allocations: 1.225 MB / 1.119 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3205, allocations: 3.938 kB / 1.119 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.3205, allocations: 4 kB / 1.119 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/0.3232, allocations: 1.02 MB / 1.12 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3232, allocations: 4 kB / 1.12 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00989/0.3331, allocations: 7.277 MB / 1.127 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3331, allocations: 0 / 1.127 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.3364, allocations: 1.958 MB / 1.129 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006837/0.3371, allocations: 453.9 kB / 1.13 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.3374, allocations: 8 kB / 1.13 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.338, allocations: 31.81 kB / 1.13 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3381, allocations: 47.88 kB / 1.13 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.3381, allocations: 8 kB / 1.13 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002676/0.3408, allocations: 2.055 MB / 1.132 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3408, allocations: 4 kB / 1.132 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001483/0.3423, allocations: 0.6131 MB / 1.132 GB, free: 5.809 MB / 0.8887 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.0003912/0.3427, allocations: 166.9 kB / 1.132 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004336/0.347, allocations: 2.799 MB / 1.135 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3471, allocations: 4.062 kB / 1.135 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.349, allocations: 1.043 MB / 1.136 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.3512, allocations: 0.6219 MB / 1.137 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.3565, allocations: 4.657 MB / 1.141 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.358, allocations: 1.911 MB / 1.143 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007973/0.3588, allocations: 325.6 kB / 1.144 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.3591, allocations: 87.44 kB / 1.144 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/0.3591, allocations: 4 kB / 1.144 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of Templates: time 0.05235/0.4115, allocations: 40.76 MB / 1.183 GB, free: 1.727 MB / 0.9356 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