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.004783/0.004783, allocations: 99 kB / 15.73 MB, free: 6.008 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.001135/0.001135, allocations: 196.2 kB / 16.67 MB, free: 5.934 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.153/1.153, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.311/2.311, allocations: 472.7 MB / 0.7453 GB, free: 476 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 59.91 kB / 1.07 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6264, allocations: 159.9 MB / 1.226 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007189/0.6336, allocations: 7.24 MB / 1.233 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006454/0.6401, allocations: 5.557 MB / 1.238 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.6408, allocations: 47.69 kB / 1.238 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.6442, allocations: 1.684 MB / 1.24 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.6454, allocations: 0.6243 MB / 1.241 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008743/0.6463, allocations: 382.7 kB / 1.241 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002605/0.6489, allocations: 2.952 MB / 1.244 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000583/0.6495, allocations: 0.541 MB / 1.244 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.6507, allocations: 1.074 MB / 1.245 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.6523, allocations: 1.616 MB / 1.247 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.6527, allocations: 200 kB / 1.247 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.6533, allocations: 323.8 kB / 1.247 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005701/0.6539, allocations: 0.6971 MB / 1.248 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.655, allocations: 1.209 MB / 1.249 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.6582, allocations: 3.678 MB / 1.253 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6582, allocations: 0 / 1.253 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6582, allocations: 8 kB / 1.253 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.302e-05/0.6583, allocations: 0 / 1.253 GB, free: 1.512 MB / 0.9669 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.005918/0.6642, allocations: 3.537 MB / 1.256 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6642, allocations: 12.03 kB / 1.256 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.6646, allocations: 255.3 kB / 1.257 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.6672, allocations: 2.017 MB / 1.259 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.6673, allocations: 61 kB / 1.259 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.6675, allocations: 88 kB / 1.259 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.6684, allocations: 0.7091 MB / 1.259 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6684, allocations: 0 / 1.259 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.6685, allocations: 20 kB / 1.259 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.6685, allocations: 12 kB / 1.259 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.6698, allocations: 0.9719 MB / 1.26 GB, free: 9.699 MB / 0.9825 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.008879/0.6787, allocations: 4.504 MB / 1.265 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.6799, allocations: 0.7884 MB / 1.266 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/0.6805, allocations: 0.5005 MB / 1.266 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.6805, allocations: 11.88 kB / 1.266 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.6806, allocations: 38.5 kB / 1.266 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.074e-06/0.6806, allocations: 0 / 1.266 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.008805/0.6894, allocations: 3.479 MB / 1.269 GB, free: 180 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.6894, allocations: 59.41 kB / 1.27 GB, free: 108 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.6927, allocations: 2.953 MB / 1.272 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.6929, allocations: 49.7 kB / 1.272 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/0.6936, allocations: 0.8595 MB / 1.273 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.6937, allocations: 166.6 kB / 1.273 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/0.6943, allocations: 335.5 kB / 1.274 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6944, allocations: 361.9 kB / 1.274 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.696, allocations: 1.37 MB / 1.275 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.6979, allocations: 1.624 MB / 1.277 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.7002, allocations: 1.93 MB / 1.279 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7002, allocations: 0 / 1.279 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006101/0.7063, allocations: 4.099 MB / 1.283 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7064, allocations: 5.25 kB / 1.283 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7064, allocations: 4 kB / 1.283 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/0.7092, allocations: 1.101 MB / 1.284 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.7103, allocations: 223.7 kB / 1.284 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.7205, allocations: 7.96 MB / 1.292 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.7222, allocations: 270.5 kB / 1.292 GB, free: 8.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.7223, allocations: 40.11 kB / 1.292 GB, free: 8.555 MB / 1.014 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.0009992/0.7233, allocations: 0.81 MB / 1.293 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.7236, allocations: 222.5 kB / 1.293 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.724, allocations: 250.7 kB / 1.294 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.724, allocations: 12 kB / 1.294 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/0.724, allocations: 8 kB / 1.294 GB, free: 7.242 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.724, allocations: 7.984 kB / 1.294 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.7252, allocations: 1.224 MB / 1.295 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7252, allocations: 0 / 1.295 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.7253, allocations: 4 kB / 1.295 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/0.7279, allocations: 1.023 MB / 1.296 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.728, allocations: 8 kB / 1.296 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/0.7381, allocations: 7.937 MB / 1.304 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7381, allocations: 4 kB / 1.304 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.7414, allocations: 1.966 MB / 1.305 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.7419, allocations: 455.3 kB / 1.306 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.7421, allocations: 12 kB / 1.306 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/0.7427, allocations: 31.86 kB / 1.306 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7428, allocations: 39.8 kB / 1.306 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.7428, allocations: 12.09 kB / 1.306 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002311/0.7452, allocations: 2.044 MB / 1.308 GB, free: 8.242 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7452, allocations: 0 / 1.308 GB, free: 8.242 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001253/0.7464, allocations: 0.613 MB / 1.309 GB, free: 7.629 MB / 1.029 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.0003317/0.7468, allocations: 155.1 kB / 1.309 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004131/0.7509, allocations: 2.819 MB / 1.311 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7509, allocations: 0 / 1.311 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.7529, allocations: 1.039 MB / 1.312 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.7549, allocations: 0.6825 MB / 1.313 GB, free: 2.922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.7594, allocations: 4.193 MB / 1.317 GB, free: 14.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.7607, allocations: 1.915 MB / 1.319 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006848/0.7614, allocations: 329.8 kB / 1.319 GB, free: 12.42 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.7617, allocations: 91.42 kB / 1.32 GB, free: 12.34 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.7617, allocations: 0 / 1.32 GB, free: 12.34 MB / 1.045 GB Notification: Performance of Templates: time 0.05189/0.8136, allocations: 42.26 MB / 1.361 GB, free: 2.488 MB / 1.076 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