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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001652/0.001652, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001661/0.001661, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.454/1.454, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002005, allocations: 69.3 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8997/0.9017, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.01082/0.9126, allocations: 7.234 MB / 1.09 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.9239, allocations: 5.541 MB / 1.095 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.9263, allocations: 46.19 kB / 1.095 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006174/0.9325, allocations: 1.688 MB / 1.097 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.9362, allocations: 0.6135 MB / 1.098 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.938, allocations: 378.3 kB / 1.098 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005396/0.9435, allocations: 2.933 MB / 1.101 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.9446, allocations: 0.5513 MB / 1.101 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.9472, allocations: 1.071 MB / 1.102 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.9505, allocations: 1.618 MB / 1.104 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009304/0.9514, allocations: 198.4 kB / 1.104 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.9528, allocations: 313.5 kB / 1.105 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009453/0.9537, allocations: 0.7086 MB / 1.105 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.9561, allocations: 1.207 MB / 1.106 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.9618, allocations: 3.444 MB / 1.11 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9618, allocations: 0 / 1.11 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9618, allocations: 0 / 1.11 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001217/0.9619, allocations: 5.188 kB / 1.11 GB, free: 2.297 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.01193/0.9739, allocations: 3.395 MB / 1.113 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.9739, allocations: 8.656 kB / 1.113 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/0.9749, allocations: 244.3 kB / 1.113 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.9797, allocations: 1.888 MB / 1.115 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/0.9798, allocations: 63.86 kB / 1.115 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.9801, allocations: 87.56 kB / 1.115 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.9816, allocations: 0.7107 MB / 1.116 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.9816, allocations: 1.125 kB / 1.116 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.9817, allocations: 23.28 kB / 1.116 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.9817, allocations: 10.81 kB / 1.116 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.9835, allocations: 0.9827 MB / 1.117 GB, free: 14.93 MB / 0.8575 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.01456/0.9981, allocations: 4.53 MB / 1.121 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.9998, allocations: 0.7886 MB / 1.122 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/1.001, allocations: 0.502 MB / 1.123 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/1.001, allocations: 5.156 kB / 1.123 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/1.001, allocations: 43.67 kB / 1.123 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 3.266e-06/1.001, allocations: 0 / 1.123 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.01159/1.012, allocations: 3.472 MB / 1.126 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/1.012, allocations: 55.38 kB / 1.126 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005879/1.018, allocations: 2.973 MB / 1.129 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0009361/1.019, allocations: 52.95 kB / 1.129 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/1.021, allocations: 0.8564 MB / 1.13 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/1.021, allocations: 160.2 kB / 1.13 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007815/1.022, allocations: 334.4 kB / 1.13 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.022, allocations: 364.4 kB / 1.131 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/1.024, allocations: 1.372 MB / 1.132 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/1.027, allocations: 1.617 MB / 1.134 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003687/1.031, allocations: 1.922 MB / 1.136 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.031, allocations: 0 / 1.136 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.009801/1.041, allocations: 4.089 MB / 1.14 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.041, allocations: 5.219 kB / 1.14 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.041, allocations: 1.562 kB / 1.14 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003491/1.044, allocations: 1.112 MB / 1.141 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/1.046, allocations: 222.2 kB / 1.141 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/1.06, allocations: 7.97 MB / 1.149 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/1.063, allocations: 258 kB / 1.149 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006644/1.064, allocations: 43.98 kB / 1.149 GB, free: 10.72 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.002234/1.066, allocations: 0.8017 MB / 1.15 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007714/1.067, allocations: 209.2 kB / 1.15 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/1.068, allocations: 254.7 kB / 1.15 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.068, allocations: 4.094 kB / 1.15 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-05/1.068, allocations: 11.94 kB / 1.15 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/1.068, allocations: 7.984 kB / 1.15 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/1.07, allocations: 1.24 MB / 1.151 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.07, allocations: 0 / 1.151 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/1.07, allocations: 4 kB / 1.151 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/1.073, allocations: 1.027 MB / 1.152 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.217e-05/1.074, allocations: 15.98 kB / 1.152 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/1.087, allocations: 7.934 MB / 1.16 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.087, allocations: 0 / 1.16 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004691/1.092, allocations: 1.97 MB / 1.162 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.093, allocations: 442 kB / 1.163 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/1.094, allocations: 4 kB / 1.163 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/1.094, allocations: 39.8 kB / 1.163 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/1.095, allocations: 31.95 kB / 1.163 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/1.095, allocations: 16 kB / 1.163 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003967/1.099, allocations: 2.055 MB / 1.165 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.099, allocations: 0 / 1.165 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003474/1.102, allocations: 0.6093 MB / 1.165 GB, free: 9.793 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.000527/1.103, allocations: 164 kB / 1.165 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006661/1.109, allocations: 2.807 MB / 1.168 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.109, allocations: 0 / 1.168 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/1.112, allocations: 1.028 MB / 1.169 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/1.116, allocations: 0.6767 MB / 1.17 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/1.124, allocations: 4.002 MB / 1.174 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/1.125, allocations: 1.785 MB / 1.175 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009501/1.126, allocations: 87.44 kB / 1.176 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of SimCode: time 1.052e-06/1.126, allocations: 0 / 1.176 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.07011/1.196, allocations: 45.54 MB / 1.22 GB, free: 1.793 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=400 -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/jenkins1/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