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.00111/0.00111, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.188/1.188, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.397/2.397, allocations: 472.6 MB / 0.7452 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 67.83 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2397, allocations: 159.9 MB / 1.226 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006974/0.2467, allocations: 7.245 MB / 1.233 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006171/0.2529, allocations: 5.538 MB / 1.238 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006207/0.2536, allocations: 51.75 kB / 1.238 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.2569, allocations: 1.683 MB / 1.24 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.258, allocations: 0.6242 MB / 1.24 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008125/0.2588, allocations: 382.1 kB / 1.241 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.2611, allocations: 2.947 MB / 1.244 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005452/0.2616, allocations: 0.5489 MB / 1.244 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.2627, allocations: 1.074 MB / 1.245 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.2643, allocations: 1.62 MB / 1.247 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.2647, allocations: 196 kB / 1.247 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006143/0.2653, allocations: 323.8 kB / 1.247 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005695/0.2659, allocations: 0.6971 MB / 1.248 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.2669, allocations: 1.201 MB / 1.249 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4966/0.7635, allocations: 3.685 MB / 1.253 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7636, allocations: 3.094 kB / 1.253 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7636, allocations: 0 / 1.253 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.728e-05/0.7636, allocations: 0 / 1.253 GB, free: 11.98 MB / 0.9981 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.006105/0.7697, allocations: 3.536 MB / 1.256 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.7698, allocations: 14.17 kB / 1.256 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/0.7702, allocations: 256.6 kB / 1.257 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.7729, allocations: 2.006 MB / 1.258 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.7729, allocations: 61.97 kB / 1.259 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.7731, allocations: 93.34 kB / 1.259 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000972/0.7741, allocations: 0.7148 MB / 1.259 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.7741, allocations: 2.5 kB / 1.259 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.7741, allocations: 17.05 kB / 1.259 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.7742, allocations: 10.5 kB / 1.259 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.7754, allocations: 0.9774 MB / 1.26 GB, free: 9.773 MB / 0.9981 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.008811/0.7842, allocations: 4.499 MB / 1.265 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.7855, allocations: 0.7864 MB / 1.265 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.7861, allocations: 0.5063 MB / 1.266 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.7861, allocations: 7.625 kB / 1.266 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.7861, allocations: 33.73 kB / 1.266 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 1.964e-06/0.7861, allocations: 0 / 1.266 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.009412/0.7956, allocations: 3.485 MB / 1.269 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.7956, allocations: 56.42 kB / 1.269 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.7992, allocations: 2.944 MB / 1.272 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.7995, allocations: 53.48 kB / 1.272 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006878/0.8002, allocations: 0.8673 MB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.8003, allocations: 168.2 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005888/0.8009, allocations: 333.8 kB / 1.274 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.801, allocations: 368.4 kB / 1.274 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.8027, allocations: 1.371 MB / 1.275 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.8046, allocations: 1.619 MB / 1.277 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.8068, allocations: 1.926 MB / 1.279 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.8069, allocations: 0 / 1.279 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006418/0.8133, allocations: 4.099 MB / 1.283 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.8133, allocations: 7.375 kB / 1.283 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.8133, allocations: 1.359 kB / 1.283 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.8163, allocations: 1.104 MB / 1.284 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.8174, allocations: 227.1 kB / 1.284 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.8278, allocations: 7.966 MB / 1.292 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.83, allocations: 257.7 kB / 1.292 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.8302, allocations: 42.92 kB / 1.292 GB, free: 15.44 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.001354/0.8315, allocations: 0.8061 MB / 1.293 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.8318, allocations: 225.9 kB / 1.293 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006012/0.8324, allocations: 257.5 kB / 1.293 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8324, allocations: 5.141 kB / 1.294 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.988e-05/0.8324, allocations: 7.688 kB / 1.294 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.8325, allocations: 2.203 kB / 1.294 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.8343, allocations: 1.224 MB / 1.295 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8343, allocations: 4 kB / 1.295 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.8344, allocations: 4.203 kB / 1.295 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/0.8373, allocations: 1.024 MB / 1.296 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.8374, allocations: 13.09 kB / 1.296 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.8495, allocations: 7.935 MB / 1.303 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8495, allocations: 0 / 1.303 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.8531, allocations: 1.975 MB / 1.305 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007251/0.8538, allocations: 450.8 kB / 1.306 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.8541, allocations: 10.19 kB / 1.306 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.8548, allocations: 37.72 kB / 1.306 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.855, allocations: 41.38 kB / 1.306 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.855, allocations: 10.81 kB / 1.306 GB, free: 9.555 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003093/0.8581, allocations: 2.037 MB / 1.308 GB, free: 8.891 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8581, allocations: 0 / 1.308 GB, free: 8.891 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001861/0.86, allocations: 0.6122 MB / 1.309 GB, free: 8.836 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.000404/0.8604, allocations: 162.1 kB / 1.309 GB, free: 8.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004786/0.8652, allocations: 2.816 MB / 1.311 GB, free: 7.625 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8652, allocations: 1.438 kB / 1.311 GB, free: 7.625 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.8673, allocations: 1.04 MB / 1.312 GB, free: 7.234 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.8697, allocations: 0.6871 MB / 1.313 GB, free: 7.031 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/0.8756, allocations: 4.192 MB / 1.317 GB, free: 5.234 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/0.8775, allocations: 1.909 MB / 1.319 GB, free: 3.926 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001025/0.8785, allocations: 329.6 kB / 1.319 GB, free: 3.844 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/0.879, allocations: 92.03 kB / 1.319 GB, free: 3.836 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.879, allocations: 0 / 1.319 GB, free: 3.836 MB / 1.014 GB Notification: Performance of Templates: time 0.05646/0.9354, allocations: 42.27 MB / 1.361 GB, free: 2.309 MB / 1.045 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