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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001079/0.001079, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001573/0.001574, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437.7 MB / 0.7117 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.000401, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8346, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007179/0.8419, allocations: 6.36 MB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008836/0.8507, allocations: 5.088 MB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.8521, allocations: 31.81 kB / 1.034 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.8561, allocations: 1.376 MB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.8577, allocations: 0.5472 MB / 1.035 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009612/0.8586, allocations: 303.4 kB / 1.036 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.8615, allocations: 2.634 MB / 1.038 GB, free: 15.67 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006648/0.8621, allocations: 0.4892 MB / 1.039 GB, free: 15.15 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.8636, allocations: 0.9726 MB / 1.04 GB, free: 14.18 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.8653, allocations: 1.546 MB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.8656, allocations: 120 kB / 1.041 GB, free: 12.51 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.8662, allocations: 227.8 kB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005986/0.8668, allocations: 0.6074 MB / 1.042 GB, free: 11.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.8673, allocations: 440.5 kB / 1.043 GB, free: 11.24 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.8694, allocations: 2.56 MB / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8695, allocations: 0 / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.757e-06/0.8695, allocations: 0 / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.8695, allocations: 3.938 kB / 1.045 GB, free: 8.668 MB / 0.795 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.00649/0.876, allocations: 3.555 MB / 1.049 GB, free: 5.043 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.8761, allocations: 12.52 kB / 1.049 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.8765, allocations: 241 kB / 1.049 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.8794, allocations: 1.797 MB / 1.051 GB, free: 2.938 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.8794, allocations: 61 kB / 1.051 GB, free: 2.879 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.8796, allocations: 92 kB / 1.051 GB, free: 2.789 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.8808, allocations: 0.7129 MB / 1.051 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.8808, allocations: 0 / 1.051 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.8809, allocations: 20 kB / 1.051 GB, free: 2.051 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.8809, allocations: 12 kB / 1.051 GB, free: 2.039 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.8824, allocations: 0.968 MB / 1.052 GB, free: 1.066 MB / 0.795 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.0104/0.8928, allocations: 5.096 MB / 1.057 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.8942, allocations: 0.781 MB / 1.058 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.8949, allocations: 0.4973 MB / 1.059 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.8949, allocations: 7.953 kB / 1.059 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.8949, allocations: 34.56 kB / 1.059 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.144e-06/0.8949, allocations: 0 / 1.059 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.009581/0.9045, allocations: 3.564 MB / 1.062 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.9046, allocations: 55.41 kB / 1.062 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/0.9089, allocations: 2.948 MB / 1.065 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0004016/0.9093, allocations: 53.7 kB / 1.065 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009221/0.9102, allocations: 0.8553 MB / 1.066 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.9104, allocations: 165.7 kB / 1.066 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.9105, allocations: 28 kB / 1.066 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9107, allocations: 357.9 kB / 1.067 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.9129, allocations: 1.37 MB / 1.068 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.9151, allocations: 1.616 MB / 1.069 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.9173, allocations: 1.459 MB / 1.071 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.9173, allocations: 0 / 1.071 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007181/0.9245, allocations: 4.07 MB / 1.075 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.9245, allocations: 7.953 kB / 1.075 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.9246, allocations: 8 kB / 1.075 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004263/0.9288, allocations: 1.105 MB / 1.076 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.9309, allocations: 227.6 kB / 1.076 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.9468, allocations: 7.351 MB / 1.083 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.9496, allocations: 266.1 kB / 1.084 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/0.9498, allocations: 40 kB / 1.084 GB, free: 0.7031 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,46.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001425/0.9513, allocations: 0.8094 MB / 1.084 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/0.9516, allocations: 217.1 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006067/0.9523, allocations: 254.7 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9523, allocations: 4 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.98e-05/0.9523, allocations: 8 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.9523, allocations: 7.938 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.9538, allocations: 1.224 MB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9539, allocations: 0 / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.9539, allocations: 7.984 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/0.957, allocations: 1.019 MB / 1.087 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.9571, allocations: 8 kB / 1.087 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.9731, allocations: 7.314 MB / 1.094 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9731, allocations: 0 / 1.094 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.9785, allocations: 1.953 MB / 1.096 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/0.9799, allocations: 450 kB / 1.097 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.9803, allocations: 8 kB / 1.097 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/0.9812, allocations: 35.81 kB / 1.097 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.9814, allocations: 39.94 kB / 1.097 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.9815, allocations: 12 kB / 1.097 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.004363/0.9858, allocations: 2.04 MB / 1.099 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7.72e-07/0.9858, allocations: 0 / 1.099 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00217/0.988, allocations: 0.618 MB / 1.099 GB, free: 440 kB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,43.8%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005304/0.9886, allocations: 164.8 kB / 1.099 GB, free: 276 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006381/0.995, allocations: 2.831 MB / 1.102 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.995, allocations: 0 / 1.102 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.9974, allocations: 1.075 MB / 1.103 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/1.001, allocations: 0.6195 MB / 1.104 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/1.008, allocations: 4.548 MB / 1.108 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/1.01, allocations: 1.915 MB / 1.11 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001332/1.011, allocations: 321.6 kB / 1.11 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/1.011, allocations: 91.44 kB / 1.111 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of SimCode: time 1.182e-06/1.012, allocations: 0 / 1.111 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of Templates: time 0.07031/1.082, allocations: 38.94 MB / 1.149 GB, free: 14.25 MB / 0.9044 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