Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.004934/0.004934, allocations: 97.03 kB / 15.73 MB, free: 6.488 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.001383/0.001383, allocations: 189.4 kB / 16.67 MB, free: 6.391 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.193/1.193, 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 10.1.1-maint.10.0.x/package.mo): time 2.262/2.262, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 55.91 kB / 1.019 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2424, allocations: 151.6 MB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007252/0.2497, allocations: 7.235 MB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00665/0.2563, allocations: 5.535 MB / 1.179 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009632/0.2573, allocations: 51.69 kB / 1.179 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.2612, allocations: 1.687 MB / 1.181 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.2627, allocations: 0.6243 MB / 1.181 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009874/0.2637, allocations: 379.2 kB / 1.182 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002977/0.2666, allocations: 2.946 MB / 1.185 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006417/0.2673, allocations: 0.541 MB / 1.185 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.2686, allocations: 1.082 MB / 1.186 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.2702, allocations: 1.616 MB / 1.188 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.2705, allocations: 196 kB / 1.188 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006234/0.2712, allocations: 327.8 kB / 1.188 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000594/0.2718, allocations: 0.6895 MB / 1.189 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.2728, allocations: 1.209 MB / 1.19 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.2758, allocations: 3.69 MB / 1.194 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2758, allocations: 0 / 1.194 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2758, allocations: 0 / 1.194 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.983e-05/0.2759, allocations: 0 / 1.194 GB, free: 10.78 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.005943/0.2818, allocations: 3.545 MB / 1.197 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2819, allocations: 8.031 kB / 1.197 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.2822, allocations: 259.3 kB / 1.198 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.2848, allocations: 2.001 MB / 1.2 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.2848, allocations: 61 kB / 1.2 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.285, allocations: 95.88 kB / 1.2 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.286, allocations: 0.7091 MB / 1.2 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.286, allocations: 4 kB / 1.2 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.286, allocations: 20 kB / 1.2 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.2861, allocations: 15.98 kB / 1.2 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2874, allocations: 0.9797 MB / 1.201 GB, free: 2.949 MB / 0.9512 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.008747/0.2961, allocations: 4.496 MB / 1.206 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.2973, allocations: 0.7913 MB / 1.207 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.2979, allocations: 0.4966 MB / 1.207 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.2979, allocations: 8 kB / 1.207 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.2979, allocations: 42.5 kB / 1.207 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 1.693e-06/0.2979, allocations: 0 / 1.207 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.008735/0.3067, allocations: 3.486 MB / 1.21 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.3067, allocations: 55.41 kB / 1.211 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.3098, allocations: 2.952 MB / 1.213 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.3099, allocations: 49.7 kB / 1.213 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007787/0.3107, allocations: 0.8673 MB / 1.214 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3109, allocations: 166.6 kB / 1.214 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005553/0.3114, allocations: 335.5 kB / 1.215 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3116, allocations: 361.9 kB / 1.215 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.3132, allocations: 1.374 MB / 1.216 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.3152, allocations: 1.62 MB / 1.218 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.3175, allocations: 1.922 MB / 1.22 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3175, allocations: 8 kB / 1.22 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006186/0.3237, allocations: 4.091 MB / 1.224 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3237, allocations: 8 kB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3237, allocations: 0 / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002892/0.3266, allocations: 1.108 MB / 1.225 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.3277, allocations: 223.7 kB / 1.225 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.338, allocations: 7.956 MB / 1.233 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.3397, allocations: 258.7 kB / 1.233 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.3399, allocations: 51.92 kB / 1.233 GB, free: 1.805 MB / 0.9825 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.001005/0.3409, allocations: 0.8056 MB / 1.234 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.3411, allocations: 222.5 kB / 1.234 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.3415, allocations: 254.7 kB / 1.235 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3415, allocations: 4 kB / 1.235 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/0.3416, allocations: 8 kB / 1.235 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.3416, allocations: 3.984 kB / 1.235 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.3428, allocations: 1.232 MB / 1.236 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3428, allocations: 0 / 1.236 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.3428, allocations: 4 kB / 1.236 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/0.3456, allocations: 1.019 MB / 1.237 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.3456, allocations: 11.94 kB / 1.237 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.3559, allocations: 7.949 MB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3559, allocations: 0 / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.3592, allocations: 1.969 MB / 1.246 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/0.3597, allocations: 459.2 kB / 1.247 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.3599, allocations: 12 kB / 1.247 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.3604, allocations: 27.91 kB / 1.247 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3606, allocations: 43.95 kB / 1.247 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.3606, allocations: 4 kB / 1.247 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002431/0.363, allocations: 2.044 MB / 1.249 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.363, allocations: 0 / 1.249 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001383/0.3644, allocations: 0.613 MB / 1.25 GB, free: 0.8711 MB / 0.9981 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.00036/0.3648, allocations: 165.5 kB / 1.25 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4617/0.8265, allocations: 2.8 MB / 1.252 GB, free: 79.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8265, allocations: 0 / 1.252 GB, free: 79.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.8287, allocations: 1.053 MB / 1.253 GB, free: 79.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.8313, allocations: 0.6704 MB / 1.254 GB, free: 78.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.8373, allocations: 4.183 MB / 1.258 GB, free: 77.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.8394, allocations: 1.913 MB / 1.26 GB, free: 76.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001292/0.8407, allocations: 330.2 kB / 1.26 GB, free: 76.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.841, allocations: 87.88 kB / 1.26 GB, free: 76.53 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/0.841, allocations: 0.5 kB / 1.26 GB, free: 76.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.06219/0.9032, allocations: 42.27 MB / 1.302 GB, free: 63.76 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches