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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009751/0.0009751, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001006/0.001006, allocations: 168.7 kB / 15.95 MB, free: 200 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.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.928/2.928, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8.469 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3554, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006716/0.3622, allocations: 6.468 MB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006402/0.3686, allocations: 4.733 MB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.3693, allocations: 35.75 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003173/0.3725, allocations: 1.361 MB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.3736, allocations: 0.5238 MB / 1.071 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.3741, allocations: 173.5 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.3758, allocations: 1.63 MB / 1.073 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.3765, allocations: 0.4932 MB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.3772, allocations: 0.6024 MB / 1.074 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008529/0.378, allocations: 0.7503 MB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.3782, allocations: 64 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.3786, allocations: 167.8 kB / 1.075 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.3789, allocations: 294.7 kB / 1.075 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.3792, allocations: 356.7 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.3806, allocations: 1.633 MB / 1.077 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3807, allocations: 0 / 1.077 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3807, allocations: 0 / 1.077 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.3807, allocations: 0 / 1.077 GB, free: 1.941 MB / 0.8262 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.002592/0.3833, allocations: 1.888 MB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3833, allocations: 12.03 kB / 1.079 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.3836, allocations: 197.5 kB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.3858, allocations: 1.469 MB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.3859, allocations: 32.95 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.3859, allocations: 35.98 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.3866, allocations: 450.2 kB / 1.081 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3866, allocations: 3.938 kB / 1.081 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.3867, allocations: 16 kB / 1.081 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.3867, allocations: 20.98 kB / 1.081 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.3874, allocations: 427.7 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.3904, allocations: 2.331 MB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009315/0.3914, allocations: 496.7 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.3917, allocations: 201.3 kB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3917, allocations: 4.281 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3917, allocations: 42.78 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.3917, allocations: 0 / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0009485/0.3927, allocations: 0.6422 MB / 1.085 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.3927, allocations: 55.41 kB / 1.085 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.3964, allocations: 2.559 MB / 1.087 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-05/0.3966, allocations: 33.7 kB / 1.087 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008267/0.3974, allocations: 0.7643 MB / 1.088 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.3976, allocations: 114.3 kB / 1.088 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.3976, allocations: 12 kB / 1.088 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3977, allocations: 322 kB / 1.089 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.3979, allocations: 131.9 kB / 1.089 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.3982, allocations: 177.4 kB / 1.089 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.3985, allocations: 165.1 kB / 1.089 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3985, allocations: 0 / 1.089 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009051/0.3994, allocations: 0.5268 MB / 1.09 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3994, allocations: 4 kB / 1.09 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3995, allocations: 4.031 kB / 1.09 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3995, allocations: 0 / 1.09 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.3998, allocations: 79.89 kB / 1.09 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3998, allocations: 7.953 kB / 1.09 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.4003, allocations: 27.69 kB / 1.09 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.4003, allocations: 7.938 kB / 1.09 GB, free: 4.352 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008678/0.4012, allocations: 0.6925 MB / 1.09 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.4014, allocations: 189.6 kB / 1.091 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.4018, allocations: 223.2 kB / 1.091 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4018, allocations: 4 kB / 1.091 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4018, allocations: 0 / 1.091 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4018, allocations: 3.953 kB / 1.091 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.4041, allocations: 1.562 MB / 1.092 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4041, allocations: 0 / 1.092 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.4045, allocations: 83.98 kB / 1.092 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.4045, allocations: 7.984 kB / 1.092 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4045, allocations: 7.953 kB / 1.092 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4045, allocations: 4 kB / 1.092 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4045, allocations: 7.922 kB / 1.092 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.4053, allocations: 0.6394 MB / 1.093 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.4059, allocations: 382.4 kB / 1.093 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.4061, allocations: 4 kB / 1.093 GB, free: 436 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.4065, allocations: 11.95 kB / 1.093 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.4065, allocations: 19.97 kB / 1.093 GB, free: 404 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.4065, allocations: 12 kB / 1.093 GB, free: 392 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00281/0.4094, allocations: 1.827 MB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4094, allocations: 4 kB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007701/0.4102, allocations: 231.8 kB / 1.095 GB, free: 14.31 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004608/0.4106, allocations: 163.2 kB / 1.096 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005542/0.4112, allocations: 323.8 kB / 1.096 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4112, allocations: 0 / 1.096 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.4114, allocations: 171.9 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.4137, allocations: 0.5878 MB / 1.097 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.4192, allocations: 3.675 MB / 1.1 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.4206, allocations: 1.754 MB / 1.102 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009192/0.4215, allocations: 315 kB / 1.102 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.4217, allocations: 79.44 kB / 1.102 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of SimCode: time 8.72e-07/0.4217, allocations: 3.938 kB / 1.102 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of Templates: time 0.0367/0.4584, allocations: 20.31 MB / 1.122 GB, free: 3.184 MB / 0.8731 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