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.001297/0.001297, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001419/0.001419, allocations: 161 kB / 24.17 MB, free: 328 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.9327/0.9327, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.9/1.9, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.332e-06/1.332e-06, allocations: 0 / 0.7602 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.903e-05, allocations: 2.312 kB / 0.7602 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008632/0.008651, allocations: 7.189 MB / 0.7672 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007922/0.01657, allocations: 5.226 MB / 0.7723 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.01724, allocations: 75.44 kB / 0.7724 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.02092, allocations: 1.659 MB / 0.774 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.02209, allocations: 0.6523 MB / 0.7746 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.02267, allocations: 221.6 kB / 0.7748 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001962/0.02463, allocations: 1.832 MB / 0.7766 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.02543, allocations: 252.6 kB / 0.7769 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.0267, allocations: 0.9983 MB / 0.7778 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009186/0.02762, allocations: 0.674 MB / 0.7785 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.02778, allocations: 76 kB / 0.7786 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.02824, allocations: 216.7 kB / 0.7788 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.02854, allocations: 339.4 kB / 0.7791 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.02902, allocations: 450.7 kB / 0.7795 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.03073, allocations: 1.658 MB / 0.7811 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.03073, allocations: 0 / 0.7811 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.22e-07/0.03073, allocations: 0 / 0.7811 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.03075, allocations: 0 / 0.7811 GB, free: 0.9922 MB / 0.7292 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.002599/0.03335, allocations: 2.086 MB / 0.7832 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.03338, allocations: 14.81 kB / 0.7832 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.0336, allocations: 140.8 kB / 0.7833 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.03571, allocations: 1.155 MB / 0.7845 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.03574, allocations: 25.38 kB / 0.7845 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.0358, allocations: 45.05 kB / 0.7845 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.0362, allocations: 267 kB / 0.7848 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.03622, allocations: 0 / 0.7848 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.03625, allocations: 16.94 kB / 0.7848 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.03629, allocations: 20.98 kB / 0.7848 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.03654, allocations: 115.8 kB / 0.7849 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.03842, allocations: 0.9606 MB / 0.7859 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.03877, allocations: 207.8 kB / 0.7861 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.03885, allocations: 48.81 kB / 0.7861 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.03886, allocations: 8.875 kB / 0.7861 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.03889, allocations: 42.56 kB / 0.7862 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.03889, allocations: 1.719 kB / 0.7862 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0003665/0.03926, allocations: 213 kB / 0.7864 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.03929, allocations: 55.41 kB / 0.7864 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.04059, allocations: 1.421 MB / 0.7878 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.04061, allocations: 29.7 kB / 0.7878 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.04085, allocations: 435.4 kB / 0.7882 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.04089, allocations: 87.27 kB / 0.7883 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.04096, allocations: 73.56 kB / 0.7884 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.04103, allocations: 323.6 kB / 0.7887 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.04108, allocations: 34.81 kB / 0.7887 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.04117, allocations: 152.4 kB / 0.7889 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.04131, allocations: 178.5 kB / 0.7891 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.04132, allocations: 4 kB / 0.7891 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002468/0.04156, allocations: 257.1 kB / 0.7893 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.04158, allocations: 4 kB / 0.7893 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.04158, allocations: 4.938 kB / 0.7893 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.04159, allocations: 4 kB / 0.7893 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.04178, allocations: 80.95 kB / 0.7894 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.04179, allocations: 7.938 kB / 0.7894 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.04199, allocations: 36.8 kB / 0.7894 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.042, allocations: 8 kB / 0.7894 GB, free: 8.199 MB / 0.7448 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.0001584/0.04216, allocations: 133.5 kB / 0.7896 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.04225, allocations: 103.9 kB / 0.7897 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.0424, allocations: 159 kB / 0.7898 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.0424, allocations: 4 kB / 0.7898 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.0424, allocations: 1.031 kB / 0.7898 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.04241, allocations: 3.984 kB / 0.7898 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.04306, allocations: 0.7272 MB / 0.7905 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.04306, allocations: 4 kB / 0.7905 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.04318, allocations: 52.95 kB / 0.7906 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.04318, allocations: 4 kB / 0.7906 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.04319, allocations: 9.641 kB / 0.7906 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.04319, allocations: 0 / 0.7906 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.04319, allocations: 4 kB / 0.7906 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.04366, allocations: 370.8 kB / 0.791 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.04388, allocations: 195.6 kB / 0.7912 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.04397, allocations: 11.98 kB / 0.7912 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.04413, allocations: 0 / 0.7912 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.04416, allocations: 17.11 kB / 0.7912 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.04417, allocations: 7.938 kB / 0.7912 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006106/0.04478, allocations: 0.776 MB / 0.7919 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.04478, allocations: 0.7812 kB / 0.7919 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000351/0.04513, allocations: 231.7 kB / 0.7922 GB, free: 5.328 MB / 0.7448 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.0002587/0.04539, allocations: 163.3 kB / 0.7923 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.04553, allocations: 111.1 kB / 0.7924 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.04554, allocations: 20 kB / 0.7924 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.04559, allocations: 53.27 kB / 0.7925 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.04664, allocations: 0.5842 MB / 0.7931 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.04915, allocations: 2.601 MB / 0.7956 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.0495, allocations: 493.5 kB / 0.7961 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003215/0.04982, allocations: 155.8 kB / 0.7962 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/0.05047, allocations: 414.5 kB / 0.7966 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.05048, allocations: 0 / 0.7966 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of Templates: time 0.02644/0.07691, allocations: 23.41 MB / 0.8195 GB, free: 9.957 MB / 0.7761 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 -s gbode -gbm=radauIIA3 -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: 5.157103864010423]