Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004681/0.004681, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001087/0.001087, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.194/1.194, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.364/2.364, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 67.89 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2502, allocations: 157.4 MB / 1.208 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007584/0.2578, allocations: 7.333 MB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006412/0.2642, allocations: 5.198 MB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.2653, allocations: 51.75 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.2691, allocations: 1.687 MB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.2706, allocations: 0.6049 MB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.2712, allocations: 224.2 kB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.2727, allocations: 1.762 MB / 1.224 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005846/0.2733, allocations: 0.5775 MB / 1.225 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006274/0.2739, allocations: 0.6998 MB / 1.226 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00077/0.2747, allocations: 0.8122 MB / 1.226 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.2749, allocations: 80 kB / 1.226 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.2752, allocations: 203.8 kB / 1.227 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.2755, allocations: 330.6 kB / 1.227 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005527/0.2761, allocations: 0.7843 MB / 1.228 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.2779, allocations: 2.429 MB / 1.23 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2779, allocations: 0 / 1.23 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2779, allocations: 0 / 1.23 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.2779, allocations: 0 / 1.23 GB, free: 2.645 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002648/0.2806, allocations: 2.257 MB / 1.232 GB, free: 328 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.2806, allocations: 8.625 kB / 1.232 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.2808, allocations: 198.4 kB / 1.232 GB, free: 120 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.2831, allocations: 1.68 MB / 1.234 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2832, allocations: 29 kB / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.2832, allocations: 35.98 kB / 1.234 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.2838, allocations: 450.3 kB / 1.235 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2838, allocations: 0 / 1.235 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.2839, allocations: 12 kB / 1.235 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.2839, allocations: 28.98 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.2845, allocations: 427.7 kB / 1.235 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.2872, allocations: 2.299 MB / 1.237 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008433/0.288, allocations: 0.5006 MB / 1.238 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.2883, allocations: 201.3 kB / 1.238 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2883, allocations: 8.219 kB / 1.238 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2883, allocations: 34.84 kB / 1.238 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.2883, allocations: 7.938 kB / 1.238 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0007964/0.2891, allocations: 0.6375 MB / 1.239 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2892, allocations: 55.41 kB / 1.239 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.2918, allocations: 2.552 MB / 1.241 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.2918, allocations: 37.7 kB / 1.241 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006507/0.2925, allocations: 0.7643 MB / 1.242 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.2926, allocations: 114.3 kB / 1.242 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2927, allocations: 69.61 kB / 1.242 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.2928, allocations: 322.5 kB / 1.242 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.293, allocations: 135.9 kB / 1.243 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.2932, allocations: 189.8 kB / 1.243 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.2936, allocations: 324.6 kB / 1.243 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2936, allocations: 0 / 1.243 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005945/0.2942, allocations: 0.5306 MB / 1.244 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2942, allocations: 5.719 kB / 1.244 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2942, allocations: 4 kB / 1.244 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2942, allocations: 0 / 1.244 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.2945, allocations: 79.92 kB / 1.244 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2945, allocations: 4 kB / 1.244 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.2948, allocations: 27.67 kB / 1.244 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2949, allocations: 12 kB / 1.244 GB, free: 4.254 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006334/0.2955, allocations: 0.6886 MB / 1.244 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.2957, allocations: 189.6 kB / 1.245 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.2959, allocations: 215.1 kB / 1.245 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2959, allocations: 4 kB / 1.245 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.296, allocations: 4 kB / 1.245 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.296, allocations: 3.984 kB / 1.245 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.2978, allocations: 1.562 MB / 1.246 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2978, allocations: 4 kB / 1.246 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.298, allocations: 75.89 kB / 1.246 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.298, allocations: 4 kB / 1.246 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.2981, allocations: 8.094 kB / 1.246 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2981, allocations: 4 kB / 1.246 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2981, allocations: 7.922 kB / 1.246 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.2987, allocations: 0.639 MB / 1.247 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.2992, allocations: 370.5 kB / 1.247 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.2994, allocations: 12 kB / 1.247 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.2997, allocations: 7.984 kB / 1.247 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.2998, allocations: 27.91 kB / 1.247 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.2998, allocations: 8 kB / 1.247 GB, free: 308 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.4816/0.7814, allocations: 1.823 MB / 1.249 GB, free: 38.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.91e-07/0.7814, allocations: 0.9688 kB / 1.249 GB, free: 38.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008505/0.7823, allocations: 230.7 kB / 1.249 GB, free: 38.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003464/0.7826, allocations: 160.6 kB / 1.25 GB, free: 38.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.7831, allocations: 326.4 kB / 1.25 GB, free: 38.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7832, allocations: 0 / 1.25 GB, free: 38.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.7834, allocations: 178.2 kB / 1.25 GB, free: 38.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.7853, allocations: 0.6254 MB / 1.251 GB, free: 38.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.7885, allocations: 3.348 MB / 1.254 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/0.7895, allocations: 1.756 MB / 1.256 GB, free: 36.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005568/0.79, allocations: 313.7 kB / 1.256 GB, free: 36.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.7902, allocations: 83.41 kB / 1.256 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.7902, allocations: 0 / 1.256 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.03665/0.8268, allocations: 22.25 MB / 1.278 GB, free: 34.74 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches