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.001681/0.00168, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001581/0.001581, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.568/2.568, allocations: 437.1 MB / 0.711 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 75.28 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3591, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.01049/0.3696, allocations: 7.237 MB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.009237/0.3789, allocations: 5.539 MB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.3804, allocations: 43.75 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005139/0.3856, allocations: 1.687 MB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.3878, allocations: 0.6126 MB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3889, allocations: 388.2 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003606/0.3926, allocations: 2.927 MB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007435/0.3933, allocations: 0.5449 MB / 1.036 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.395, allocations: 1.078 MB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.3972, allocations: 1.616 MB / 1.039 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004349/0.3976, allocations: 207.9 kB / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008142/0.3985, allocations: 319.8 kB / 1.04 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007389/0.3992, allocations: 0.6972 MB / 1.04 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.4008, allocations: 1.213 MB / 1.041 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.4046, allocations: 3.431 MB / 1.045 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4046, allocations: 4 kB / 1.045 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4046, allocations: 0 / 1.045 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.505e-05/0.4047, allocations: 0 / 1.045 GB, free: 14.96 MB / 0.8262 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.007982/0.4127, allocations: 3.407 MB / 1.048 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.4127, allocations: 8.922 kB / 1.048 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004953/0.4132, allocations: 249.9 kB / 1.048 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.4165, allocations: 1.886 MB / 1.05 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.4166, allocations: 65 kB / 1.05 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.4168, allocations: 88 kB / 1.05 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.418, allocations: 0.7246 MB / 1.051 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.418, allocations: 0 / 1.051 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.4181, allocations: 16 kB / 1.051 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4181, allocations: 12 kB / 1.051 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.4197, allocations: 0.9797 MB / 1.052 GB, free: 7.391 MB / 0.8262 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.01128/0.431, allocations: 4.523 MB / 1.057 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.4324, allocations: 0.7823 MB / 1.057 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.4331, allocations: 0.4934 MB / 1.058 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.4331, allocations: 11.95 kB / 1.058 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.4332, allocations: 42.5 kB / 1.058 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.4332, allocations: 0 / 1.058 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.01018/0.4434, allocations: 3.461 MB / 1.061 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.4434, allocations: 55.41 kB / 1.061 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/0.449, allocations: 2.976 MB / 1.064 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003799/0.4494, allocations: 57.64 kB / 1.064 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.4507, allocations: 0.8591 MB / 1.065 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.451, allocations: 157.8 kB / 1.065 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.4521, allocations: 335.5 kB / 1.066 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.4523, allocations: 361.9 kB / 1.066 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/0.4543, allocations: 1.37 MB / 1.067 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.4568, allocations: 1.62 MB / 1.069 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.4597, allocations: 1.922 MB / 1.071 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.4597, allocations: 4 kB / 1.071 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008143/0.4679, allocations: 4.086 MB / 1.075 GB, free: 8 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4679, allocations: 8 kB / 1.075 GB, free: 0 / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4679, allocations: 0 / 1.075 GB, free: 0 / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6258/1.094, allocations: 1.106 MB / 1.076 GB, free: 59.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/1.096, allocations: 225.1 kB / 1.076 GB, free: 59.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/1.111, allocations: 7.962 MB / 1.084 GB, free: 56.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/1.114, allocations: 261.1 kB / 1.084 GB, free: 56.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005384/1.115, allocations: 43.11 kB / 1.084 GB, free: 56.55 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.002156/1.117, allocations: 0.8017 MB / 1.085 GB, free: 56.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006258/1.117, allocations: 225.5 kB / 1.085 GB, free: 56.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007765/1.118, allocations: 257.6 kB / 1.085 GB, free: 55.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/1.118, allocations: 4.625 kB / 1.085 GB, free: 55.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.713e-05/1.118, allocations: 7.188 kB / 1.085 GB, free: 55.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.118, allocations: 2.984 kB / 1.085 GB, free: 55.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/1.121, allocations: 1.226 MB / 1.086 GB, free: 55.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.121, allocations: 1.469 kB / 1.086 GB, free: 55.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/1.121, allocations: 3.391 kB / 1.086 GB, free: 55.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/1.124, allocations: 1.033 MB / 1.087 GB, free: 55.28 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/1.124, allocations: 6.125 kB / 1.088 GB, free: 55.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.138, allocations: 7.938 MB / 1.095 GB, free: 51.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.138, allocations: 0 / 1.095 GB, free: 51.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/1.142, allocations: 1.952 MB / 1.097 GB, free: 51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.143, allocations: 444.5 kB / 1.098 GB, free: 50.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/1.144, allocations: 10.81 kB / 1.098 GB, free: 50.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/1.144, allocations: 30.16 kB / 1.098 GB, free: 50.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.144, allocations: 44.2 kB / 1.098 GB, free: 50.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/1.145, allocations: 15.38 kB / 1.098 GB, free: 50.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003969/1.149, allocations: 2.054 MB / 1.1 GB, free: 50.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.149, allocations: 0 / 1.1 GB, free: 50.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002805/1.151, allocations: 0.6132 MB / 1.1 GB, free: 49.96 MB / 0.8419 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.0005172/1.152, allocations: 155.6 kB / 1.1 GB, free: 49.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005978/1.158, allocations: 2.826 MB / 1.103 GB, free: 48.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.158, allocations: 1.094 kB / 1.103 GB, free: 48.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/1.16, allocations: 1.031 MB / 1.104 GB, free: 48.35 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/1.163, allocations: 0.6788 MB / 1.105 GB, free: 48.14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/1.17, allocations: 4.002 MB / 1.109 GB, free: 46.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/1.172, allocations: 1.788 MB / 1.111 GB, free: 45.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/1.173, allocations: 86.25 kB / 1.111 GB, free: 45.55 MB / 0.8419 GB Notification: Performance of SimCode: time 1.002e-06/1.173, allocations: 0 / 1.111 GB, free: 45.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.06177/1.234, allocations: 45.56 MB / 1.155 GB, free: 12.71 MB / 0.8419 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=480 -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/jenkins1/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