Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009302/0.0009302, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009323/0.0009323, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8927/0.8927, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.765/1.765, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.[0-9,]+..Q_flow|irRadGai.conExtWin.[0-9,]+..Q_flow|irRadGai.conExtWinFra.[0-9,]+..Q_flow|irRadGai.conPar_a.[0-9,]+..Q_flow|irRadGai.conPar_b.[0-9,]+..Q_flow|irRadGai.conBou.[0-9,]+..Q_flow|irRadGai.conSurBou.[0-9,]+..Q_flow|irRadGai.JOutConExtWin.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.[0-9,]+..Q_flow|irRadGai.conExtWin.[0-9,]+..Q_flow|irRadGai.conExtWinFra.[0-9,]+..Q_flow|irRadGai.conPar_a.[0-9,]+..Q_flow|irRadGai.conPar_b.[0-9,]+..Q_flow|irRadGai.conBou.[0-9,]+..Q_flow|irRadGai.conSurBou.[0-9,]+..Q_flow|irRadGai.JOutConExtWin.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.51e-07/9.51e-07, allocations: 0 / 0.8116 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.869e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006265/0.006284, allocations: 7.377 MB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004159/0.01044, allocations: 5.139 MB / 0.8239 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.01081, allocations: 68.62 kB / 0.8239 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.01301, allocations: 1.609 MB / 0.8255 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.01365, allocations: 0.6366 MB / 0.8261 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.014, allocations: 234.4 kB / 0.8263 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.01508, allocations: 1.833 MB / 0.8281 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.01535, allocations: 232 kB / 0.8284 GB, free: 492 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006893/0.01604, allocations: 1.005 MB / 0.8293 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.01665, allocations: 0.6895 MB / 0.83 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.795e-05/0.01675, allocations: 80 kB / 0.8301 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.01704, allocations: 203.7 kB / 0.8303 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.01724, allocations: 346.4 kB / 0.8306 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.01755, allocations: 450.7 kB / 0.831 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.01863, allocations: 1.65 MB / 0.8327 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01863, allocations: 0 / 0.8327 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01863, allocations: 0 / 0.8327 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.01864, allocations: 3.938 kB / 0.8327 GB, free: 12.06 MB / 0.7917 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.001814/0.02046, allocations: 2.492 MB / 0.8351 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.02049, allocations: 12.03 kB / 0.8351 GB, free: 9.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.02066, allocations: 239.6 kB / 0.8353 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.02195, allocations: 1.402 MB / 0.8367 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.02197, allocations: 21.38 kB / 0.8367 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.022, allocations: 44.12 kB / 0.8368 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.02229, allocations: 268.2 kB / 0.837 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.0223, allocations: 0 / 0.837 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.02232, allocations: 15.92 kB / 0.837 GB, free: 7.445 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.02236, allocations: 24.98 kB / 0.8371 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.02258, allocations: 157.9 kB / 0.8372 GB, free: 7.266 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.02444, allocations: 1.869 MB / 0.839 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.02473, allocations: 181.7 kB / 0.8392 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.02479, allocations: 59.67 kB / 0.8393 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.02481, allocations: 4 kB / 0.8393 GB, free: 5.105 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.02483, allocations: 49.31 kB / 0.8393 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.02483, allocations: 3.984 kB / 0.8393 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.0003311/0.02516, allocations: 340.7 kB / 0.8396 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.02518, allocations: 55.59 kB / 0.8397 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.02715, allocations: 2.221 MB / 0.8419 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.02716, allocations: 29.7 kB / 0.8419 GB, free: 2.344 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006478/0.02781, allocations: 1.047 MB / 0.8429 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.02785, allocations: 87.23 kB / 0.843 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.02792, allocations: 83.3 kB / 0.8431 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.02802, allocations: 0.4965 MB / 0.8436 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.02807, allocations: 39.73 kB / 0.8436 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.0282, allocations: 213.5 kB / 0.8438 GB, free: 304 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.02837, allocations: 214.5 kB / 0.844 GB, free: 40 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.02838, allocations: 0 / 0.844 GB, free: 40 kB / 0.7917 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003347/0.02871, allocations: 388.1 kB / 0.8444 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.02872, allocations: 7 kB / 0.8444 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.02873, allocations: 8 kB / 0.8444 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.02874, allocations: 4 kB / 0.8444 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.02888, allocations: 67.91 kB / 0.8445 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.02889, allocations: 11.92 kB / 0.8445 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.02909, allocations: 31.8 kB / 0.8445 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.0291, allocations: 16 kB / 0.8445 GB, free: 15.51 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (37): * Single equations (assignments): 37 * 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.0001671/0.02927, allocations: 180.4 kB / 0.8447 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.02939, allocations: 198.7 kB / 0.8449 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.02952, allocations: 162.2 kB / 0.845 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02952, allocations: 8 kB / 0.845 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.02953, allocations: 0 / 0.845 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.02953, allocations: 3.938 kB / 0.845 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.03073, allocations: 1.498 MB / 0.8465 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.03074, allocations: 4 kB / 0.8465 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.03083, allocations: 43.97 kB / 0.8466 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.03083, allocations: 4 kB / 0.8466 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.03084, allocations: 0 / 0.8466 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.03084, allocations: 3.938 kB / 0.8466 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.03084, allocations: 8.031 kB / 0.8466 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.03113, allocations: 0.4925 MB / 0.8471 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.03139, allocations: 262.6 kB / 0.8473 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/0.03147, allocations: 0 / 0.8473 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.03165, allocations: 11.94 kB / 0.8473 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.03167, allocations: 15.97 kB / 0.8473 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.03168, allocations: 8 kB / 0.8473 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00107/0.03275, allocations: 1.179 MB / 0.8485 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.03275, allocations: 4 kB / 0.8485 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004687/0.03322, allocations: 231.7 kB / 0.8487 GB, free: 11.11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (24): * Single equations (assignments): 24 * 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.0002544/0.03347, allocations: 168.6 kB / 0.8489 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.03367, allocations: 149.2 kB / 0.849 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.03367, allocations: 0 / 0.849 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.154e-05/0.03373, allocations: 72.22 kB / 0.8491 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.03496, allocations: 0.58 MB / 0.8496 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.03732, allocations: 2.651 MB / 0.8522 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.03767, allocations: 0.5601 MB / 0.8528 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003333/0.038, allocations: 226.7 kB / 0.853 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.03811, allocations: 84.5 kB / 0.8531 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.03811, allocations: 0 / 0.8531 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of Templates: time 0.02285/0.06096, allocations: 22.89 MB / 0.8754 GB, free: 136 kB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.883714535739273]