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.001494/0.001493, allocations: 104.5 kB / 16.41 MB, free: 6.398 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.001493/0.001493, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.89 kB / 1.055 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.007, allocations: 157.4 MB / 1.209 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009799/1.017, allocations: 7.227 MB / 1.216 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00951/1.027, allocations: 5.533 MB / 1.221 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/1.029, allocations: 55.69 kB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005701/1.034, allocations: 1.683 MB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/1.037, allocations: 0.6243 MB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/1.039, allocations: 379.2 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004204/1.043, allocations: 2.943 MB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009824/1.044, allocations: 0.5487 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/1.046, allocations: 1.109 MB / 1.228 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/1.049, allocations: 1.616 MB / 1.23 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0009715/1.05, allocations: 196 kB / 1.23 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/1.052, allocations: 319.8 kB / 1.23 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/1.053, allocations: 0.7049 MB / 1.231 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002286/1.055, allocations: 1.209 MB / 1.232 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003807/1.059, allocations: 3.672 MB / 1.236 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.059, allocations: 3.938 kB / 1.236 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.444e-06/1.059, allocations: 8 kB / 1.236 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.287e-05/1.059, allocations: 0 / 1.236 GB, free: 1.602 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.007132/1.066, allocations: 3.445 MB / 1.239 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/1.066, allocations: 12.03 kB / 1.239 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004554/1.067, allocations: 245.9 kB / 1.239 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/1.07, allocations: 1.991 MB / 1.241 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/1.07, allocations: 61 kB / 1.241 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/1.07, allocations: 91.94 kB / 1.241 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.072, allocations: 0.7169 MB / 1.242 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.072, allocations: 0 / 1.242 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/1.072, allocations: 16 kB / 1.242 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/1.072, allocations: 12 kB / 1.242 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.073, allocations: 0.9758 MB / 1.243 GB, free: 9.902 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.01036/1.084, allocations: 4.499 MB / 1.247 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.085, allocations: 0.7892 MB / 1.248 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/1.086, allocations: 0.4934 MB / 1.249 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/1.086, allocations: 7.953 kB / 1.249 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.086, allocations: 42.5 kB / 1.249 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 3.096e-06/1.086, allocations: 0 / 1.249 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.009794/1.095, allocations: 3.469 MB / 1.252 GB, free: 412 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/1.096, allocations: 59.41 kB / 1.252 GB, free: 340 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/1.1, allocations: 2.956 MB / 1.255 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004337/1.1, allocations: 49.7 kB / 1.255 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00091/1.101, allocations: 0.8514 MB / 1.256 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/1.101, allocations: 161.8 kB / 1.256 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/1.102, allocations: 331.5 kB / 1.256 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.102, allocations: 365.9 kB / 1.257 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/1.104, allocations: 1.37 MB / 1.258 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/1.106, allocations: 1.624 MB / 1.26 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/1.109, allocations: 1.922 MB / 1.262 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.109, allocations: 0 / 1.262 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006847/1.115, allocations: 4.09 MB / 1.266 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.115, allocations: 4 kB / 1.266 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.115, allocations: 4.094 kB / 1.266 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/1.118, allocations: 1.108 MB / 1.267 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.12, allocations: 219.7 kB / 1.267 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/1.131, allocations: 7.951 MB / 1.275 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/1.133, allocations: 265.9 kB / 1.275 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/1.133, allocations: 44 kB / 1.275 GB, free: 8.816 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.001423/1.135, allocations: 0.8095 MB / 1.276 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/1.135, allocations: 209.2 kB / 1.276 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/1.135, allocations: 254.7 kB / 1.276 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.135, allocations: 12 kB / 1.276 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/1.135, allocations: 4 kB / 1.276 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.136, allocations: 7.984 kB / 1.276 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.137, allocations: 1.217 MB / 1.277 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.137, allocations: 3.984 kB / 1.277 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/1.137, allocations: 4 kB / 1.277 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002797/1.14, allocations: 1.02 MB / 1.278 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/1.14, allocations: 12 kB / 1.278 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/1.151, allocations: 7.927 MB / 1.286 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.151, allocations: 4 kB / 1.286 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003687/1.155, allocations: 1.954 MB / 1.288 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009051/1.156, allocations: 446 kB / 1.288 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.156, allocations: 8 kB / 1.288 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/1.156, allocations: 35.81 kB / 1.289 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.157, allocations: 35.94 kB / 1.289 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/1.157, allocations: 12 kB / 1.289 GB, free: 10.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002751/1.159, allocations: 2.04 MB / 1.291 GB, free: 8.555 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.31e-07/1.159, allocations: 3.938 kB / 1.291 GB, free: 8.551 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001739/1.161, allocations: 0.6131 MB / 1.291 GB, free: 7.938 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.0004519/1.162, allocations: 168.7 kB / 1.291 GB, free: 7.777 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005025/1.167, allocations: 2.8 MB / 1.294 GB, free: 4.957 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.167, allocations: 0 / 1.294 GB, free: 4.957 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/1.169, allocations: 1.032 MB / 1.295 GB, free: 3.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/1.172, allocations: 0.6641 MB / 1.296 GB, free: 3.262 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/1.179, allocations: 3.959 MB / 1.3 GB, free: 15.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/1.18, allocations: 1.785 MB / 1.301 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005894/1.181, allocations: 95.42 kB / 1.301 GB, free: 13.36 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/1.181, allocations: 0 / 1.301 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Templates: time 0.06342/1.244, allocations: 45.92 MB / 1.346 GB, free: 15.61 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/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