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.0008933/0.0008933, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009308/0.0009308, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.8813/0.8813, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.787/1.787, allocations: 377.9 MB / 0.624 GB, free: 8.391 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 1.443e-06/1.443e-06, allocations: 0 / 0.8121 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.171e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005493/0.005505, allocations: 7.125 MB / 0.8191 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004236/0.009741, allocations: 5.054 MB / 0.824 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.01015, allocations: 71.44 kB / 0.8241 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.01238, allocations: 1.615 MB / 0.8256 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006277/0.01301, allocations: 0.6435 MB / 0.8263 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.01335, allocations: 228.3 kB / 0.8265 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.01443, allocations: 1.836 MB / 0.8283 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.0148, allocations: 232 kB / 0.8285 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00073/0.01553, allocations: 1.001 MB / 0.8295 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008204/0.01635, allocations: 0.6856 MB / 0.8302 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01645, allocations: 76 kB / 0.8302 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.01675, allocations: 207.7 kB / 0.8304 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.01696, allocations: 346.5 kB / 0.8308 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.01726, allocations: 450.7 kB / 0.8312 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.01841, allocations: 1.654 MB / 0.8328 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.01842, allocations: 0 / 0.8328 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.22e-07/0.01842, allocations: 0 / 0.8328 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.01843, allocations: 0 / 0.8328 GB, free: 12.11 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.001969/0.0204, allocations: 2.479 MB / 0.8352 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.02044, allocations: 8.031 kB / 0.8352 GB, free: 9.566 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.02061, allocations: 243.6 kB / 0.8355 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.02177, allocations: 1.351 MB / 0.8368 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.02179, allocations: 29.36 kB / 0.8368 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.02183, allocations: 40.12 kB / 0.8368 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.02232, allocations: 236.2 kB / 0.8371 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.02233, allocations: 0 / 0.8371 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.02236, allocations: 16 kB / 0.8371 GB, free: 7.582 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.02239, allocations: 20.98 kB / 0.8371 GB, free: 7.562 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.02253, allocations: 134.8 kB / 0.8372 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.02398, allocations: 1.383 MB / 0.8386 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.02421, allocations: 169.7 kB / 0.8387 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.02427, allocations: 56.16 kB / 0.8388 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.02428, allocations: 4 kB / 0.8388 GB, free: 5.777 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.0243, allocations: 37.39 kB / 0.8388 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=24): time 1.183e-06/0.0243, allocations: 0 / 0.8388 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.0002924/0.02459, allocations: 328.6 kB / 0.8392 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.02461, allocations: 59.39 kB / 0.8392 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.02622, allocations: 2.165 MB / 0.8413 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.02624, allocations: 29.7 kB / 0.8414 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006566/0.02689, allocations: 1.062 MB / 0.8424 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.02694, allocations: 91.22 kB / 0.8425 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.02701, allocations: 91.27 kB / 0.8426 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.02712, allocations: 0.4964 MB / 0.843 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.02715, allocations: 23.73 kB / 0.8431 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.02726, allocations: 201.5 kB / 0.8433 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.0274, allocations: 200 kB / 0.8435 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0274, allocations: 0 / 0.8435 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002811/0.02768, allocations: 370.5 kB / 0.8438 GB, free: 444 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.0277, allocations: 4 kB / 0.8438 GB, free: 440 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-06/0.0277, allocations: 4 kB / 0.8438 GB, free: 436 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.02771, allocations: 4.344 kB / 0.8438 GB, free: 432 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.02784, allocations: 75.84 kB / 0.8439 GB, free: 356 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.02785, allocations: 4 kB / 0.8439 GB, free: 352 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.02804, allocations: 39.72 kB / 0.8439 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.02829, allocations: 12 kB / 0.8439 GB, free: 300 kB / 0.7917 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.000174/0.02847, allocations: 172.5 kB / 0.8441 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.02859, allocations: 198.8 kB / 0.8443 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.02874, allocations: 166.1 kB / 0.8445 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.02874, allocations: 4 kB / 0.8445 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02874, allocations: 0 / 0.8445 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.02875, allocations: 7.984 kB / 0.8445 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008785/0.02963, allocations: 1.059 MB / 0.8455 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.02963, allocations: 0 / 0.8455 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.02971, allocations: 47.91 kB / 0.8455 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.02972, allocations: 3.938 kB / 0.8456 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.02972, allocations: 4 kB / 0.8456 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.02973, allocations: 4 kB / 0.8456 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.02973, allocations: 3.984 kB / 0.8456 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.02999, allocations: 484.3 kB / 0.846 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.03023, allocations: 246.6 kB / 0.8463 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.0303, allocations: 4 kB / 0.8463 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.03046, allocations: 11.94 kB / 0.8463 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.03048, allocations: 11.92 kB / 0.8463 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.03049, allocations: 11.98 kB / 0.8463 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0008122/0.0313, allocations: 1.1 MB / 0.8474 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.0313, allocations: 0 / 0.8474 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000357/0.03166, allocations: 231.7 kB / 0.8476 GB, free: 12.45 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.0002427/0.0319, allocations: 175.5 kB / 0.8478 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.03206, allocations: 133.1 kB / 0.8479 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.03206, allocations: 0 / 0.8479 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.03211, allocations: 63.58 kB / 0.8479 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.0332, allocations: 0.5838 MB / 0.8485 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.03586, allocations: 2.651 MB / 0.8511 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.03623, allocations: 0.5562 MB / 0.8517 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003107/0.03654, allocations: 166.8 kB / 0.8518 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/0.03716, allocations: 481.8 kB / 0.8523 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.03716, allocations: 0 / 0.8523 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of Templates: time 0.02435/0.06151, allocations: 23.27 MB / 0.875 GB, free: 0.9297 MB / 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.825267885811627]