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.005156/0.005156, allocations: 108.9 kB / 15.74 MB, free: 6.016 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.001211/0.001211, allocations: 188.5 kB / 16.67 MB, free: 5.941 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.172/1.172, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.275/2.275, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 63.89 kB / 1.054 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.6338, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006785/0.6406, allocations: 7.233 MB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00557/0.6462, allocations: 5.533 MB / 1.22 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.6467, allocations: 55.75 kB / 1.22 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.6496, allocations: 1.691 MB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008268/0.6504, allocations: 0.6165 MB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.6512, allocations: 386.9 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.6533, allocations: 2.944 MB / 1.226 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005253/0.6538, allocations: 0.5488 MB / 1.226 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000962/0.6548, allocations: 1.102 MB / 1.227 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.6563, allocations: 1.612 MB / 1.229 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.6565, allocations: 196 kB / 1.229 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.6571, allocations: 335.7 kB / 1.23 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004875/0.6576, allocations: 0.705 MB / 1.23 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008806/0.6584, allocations: 1.205 MB / 1.231 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.6609, allocations: 3.669 MB / 1.235 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6609, allocations: 0 / 1.235 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6609, allocations: 0 / 1.235 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.6609, allocations: 0 / 1.235 GB, free: 1.668 MB / 0.9512 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.005865/0.6668, allocations: 3.464 MB / 1.238 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.6669, allocations: 8.031 kB / 1.238 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.6672, allocations: 245.9 kB / 1.239 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.6702, allocations: 1.984 MB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.6703, allocations: 65 kB / 1.241 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.6704, allocations: 88 kB / 1.241 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.6713, allocations: 0.713 MB / 1.241 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6714, allocations: 4 kB / 1.241 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.6714, allocations: 20 kB / 1.241 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.6714, allocations: 11.98 kB / 1.241 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.6727, allocations: 0.9797 MB / 1.242 GB, free: 9.957 MB / 0.9669 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.009094/0.6818, allocations: 4.487 MB / 1.247 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.6829, allocations: 0.793 MB / 1.248 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.6835, allocations: 0.5038 MB / 1.248 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.6835, allocations: 11.89 kB / 1.248 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.6835, allocations: 34.5 kB / 1.248 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 1.403e-06/0.6835, allocations: 0 / 1.248 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.008687/0.6922, allocations: 3.476 MB / 1.251 GB, free: 464 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.6923, allocations: 55.41 kB / 1.252 GB, free: 396 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003099/0.6954, allocations: 2.948 MB / 1.254 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.6955, allocations: 53.7 kB / 1.254 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/0.6962, allocations: 0.8552 MB / 1.255 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6964, allocations: 161.8 kB / 1.255 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/0.6969, allocations: 331.5 kB / 1.256 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.697, allocations: 365.9 kB / 1.256 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.6987, allocations: 1.366 MB / 1.257 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.7006, allocations: 1.628 MB / 1.259 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.7029, allocations: 1.926 MB / 1.261 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7029, allocations: 0 / 1.261 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006168/0.7091, allocations: 4.09 MB / 1.265 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7091, allocations: 4 kB / 1.265 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7091, allocations: 4 kB / 1.265 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/0.7121, allocations: 1.101 MB / 1.266 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.7131, allocations: 231.8 kB / 1.266 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.7236, allocations: 7.943 MB / 1.274 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.7251, allocations: 269.9 kB / 1.274 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.7253, allocations: 44.11 kB / 1.274 GB, free: 8.867 MB / 0.9981 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.0009114/0.7262, allocations: 0.8056 MB / 1.275 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.7264, allocations: 213.2 kB / 1.275 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.7268, allocations: 250.7 kB / 1.275 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7268, allocations: 4 kB / 1.275 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.7268, allocations: 8 kB / 1.276 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7268, allocations: 3.984 kB / 1.276 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.7281, allocations: 1.228 MB / 1.277 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7281, allocations: 4 kB / 1.277 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.7282, allocations: 4 kB / 1.277 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/0.731, allocations: 1.019 MB / 1.278 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.731, allocations: 8 kB / 1.278 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.7415, allocations: 7.935 MB / 1.285 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7416, allocations: 0 / 1.285 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.7449, allocations: 1.954 MB / 1.287 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00074/0.7457, allocations: 442 kB / 1.288 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.7458, allocations: 12 kB / 1.288 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.7464, allocations: 31.81 kB / 1.288 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7465, allocations: 39.94 kB / 1.288 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.7466, allocations: 15.98 kB / 1.288 GB, free: 10.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002375/0.749, allocations: 2.036 MB / 1.29 GB, free: 8.609 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.749, allocations: 0 / 1.29 GB, free: 8.609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001171/0.7501, allocations: 0.6131 MB / 1.29 GB, free: 7.996 MB / 1.014 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.0003379/0.7505, allocations: 161.6 kB / 1.291 GB, free: 7.836 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004191/0.7547, allocations: 2.811 MB / 1.293 GB, free: 5.004 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7547, allocations: 0 / 1.293 GB, free: 5.004 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002022/0.7567, allocations: 1.032 MB / 1.294 GB, free: 3.957 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.7589, allocations: 0.6717 MB / 1.295 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.7639, allocations: 4.138 MB / 1.299 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.7655, allocations: 1.915 MB / 1.301 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007031/0.7662, allocations: 321.9 kB / 1.301 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.7665, allocations: 87.44 kB / 1.301 GB, free: 12.78 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.7665, allocations: 0 / 1.301 GB, free: 12.78 MB / 1.029 GB Notification: Performance of Templates: time 0.05674/0.8232, allocations: 43.2 MB / 1.344 GB, free: 2.008 MB / 1.061 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