Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001507/0.001507, 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.001418/0.001418, allocations: 191.3 kB / 16.25 MB, free: 6.645 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.28/1.28, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 75.86 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5585, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008321/0.5669, allocations: 7.196 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007337/0.5743, allocations: 5.47 MB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007258/0.575, allocations: 35.81 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.5788, allocations: 1.598 MB / 1.031 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.58, allocations: 0.5394 MB / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.5809, allocations: 346.7 kB / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002938/0.5838, allocations: 2.961 MB / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006733/0.5845, allocations: 0.5565 MB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.5859, allocations: 1.105 MB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.5877, allocations: 1.647 MB / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.588, allocations: 196 kB / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.5887, allocations: 323.8 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006461/0.5893, allocations: 0.6972 MB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.5906, allocations: 1.205 MB / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003236/0.5938, allocations: 3.446 MB / 1.043 GB, free: 7.426 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5938, allocations: 0 / 1.043 GB, free: 7.426 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5938, allocations: 0 / 1.043 GB, free: 7.426 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.502e-05/0.5939, allocations: 4 kB / 1.043 GB, free: 7.422 MB / 0.795 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.006336/0.6002, allocations: 3.398 MB / 1.047 GB, free: 3.953 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6002, allocations: 8.031 kB / 1.047 GB, free: 3.945 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.6007, allocations: 241.9 kB / 1.047 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.6035, allocations: 1.89 MB / 1.049 GB, free: 1.754 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.6036, allocations: 69 kB / 1.049 GB, free: 1.688 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.6038, allocations: 88 kB / 1.049 GB, free: 1.602 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6049, allocations: 0.709 MB / 1.05 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6049, allocations: 4 kB / 1.05 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.605, allocations: 16 kB / 1.05 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.605, allocations: 12 kB / 1.05 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.6065, allocations: 0.9797 MB / 1.051 GB, free: 15.87 MB / 0.8106 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.009544/0.6161, allocations: 4.519 MB / 1.055 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.6174, allocations: 0.7908 MB / 1.056 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.6181, allocations: 0.5012 MB / 1.056 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.6181, allocations: 7.953 kB / 1.056 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.6181, allocations: 38.5 kB / 1.056 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.6182, allocations: 0 / 1.056 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.009555/0.6277, allocations: 3.473 MB / 1.06 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.6278, allocations: 55.41 kB / 1.06 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/0.6317, allocations: 2.968 MB / 1.063 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002641/0.6319, allocations: 57.69 kB / 1.063 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009338/0.6329, allocations: 0.8513 MB / 1.064 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.6331, allocations: 169.7 kB / 1.064 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005983/0.6337, allocations: 331.5 kB / 1.064 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.6338, allocations: 361.9 kB / 1.064 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.6357, allocations: 1.37 MB / 1.066 GB, free: 152 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.638, allocations: 1.628 MB / 1.067 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/0.6406, allocations: 1.918 MB / 1.069 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.6406, allocations: 0 / 1.069 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007118/0.6478, allocations: 4.09 MB / 1.073 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6478, allocations: 4.094 kB / 1.073 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6478, allocations: 7.875 kB / 1.073 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003163/0.651, allocations: 1.109 MB / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.6522, allocations: 223.7 kB / 1.075 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.6641, allocations: 7.962 MB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.666, allocations: 258 kB / 1.083 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.6662, allocations: 44 kB / 1.083 GB, free: 14.72 MB / 0.8419 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.001191/0.6674, allocations: 0.8095 MB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.6676, allocations: 209.2 kB / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.6681, allocations: 254.7 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6681, allocations: 4 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/0.6681, allocations: 8 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6681, allocations: 3.984 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.6696, allocations: 1.232 MB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6696, allocations: 0 / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.6697, allocations: 7.984 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002953/0.6726, allocations: 1.031 MB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.6727, allocations: 11.94 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.6844, allocations: 7.929 MB / 1.094 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6845, allocations: 4 kB / 1.094 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/0.6882, allocations: 1.96 MB / 1.096 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007852/0.689, allocations: 446 kB / 1.096 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.6892, allocations: 12 kB / 1.096 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.6898, allocations: 39.8 kB / 1.096 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.6899, allocations: 35.94 kB / 1.096 GB, free: 488 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.69, allocations: 12 kB / 1.096 GB, free: 476 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002807/0.6928, allocations: 2.056 MB / 1.098 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6928, allocations: 4 kB / 1.098 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00156/0.6944, allocations: 0.6093 MB / 1.099 GB, free: 13.79 MB / 0.8575 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.0003927/0.6948, allocations: 164.8 kB / 1.099 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004842/0.6996, allocations: 2.83 MB / 1.102 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.6996, allocations: 3.938 kB / 1.102 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/0.7018, allocations: 1.043 MB / 1.103 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.7042, allocations: 0.6764 MB / 1.104 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.7101, allocations: 4.676 MB / 1.108 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.7118, allocations: 1.912 MB / 1.11 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001117/0.7129, allocations: 379.4 kB / 1.11 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.7132, allocations: 99.44 kB / 1.11 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.7132, allocations: 8 kB / 1.11 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of Templates: time 0.0671/0.7803, allocations: 42.62 MB / 1.152 GB, free: 7.746 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches