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.0009118/0.0009118, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001068/0.001068, allocations: 161 kB / 24.17 MB, free: 332 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.9189/0.9189, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.785/1.785, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.693e-06/1.693e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.365e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008212/0.008235, allocations: 7.139 MB / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005977/0.01421, allocations: 5.228 MB / 0.7722 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009256/0.01514, allocations: 75.44 kB / 0.7723 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.01839, allocations: 1.64 MB / 0.7739 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.0197, allocations: 0.6501 MB / 0.7745 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.02027, allocations: 227.3 kB / 0.7747 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.02199, allocations: 1.837 MB / 0.7765 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.02235, allocations: 248.6 kB / 0.7767 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009792/0.02333, allocations: 0.9972 MB / 0.7777 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.02398, allocations: 0.6778 MB / 0.7784 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.02409, allocations: 79.94 kB / 0.7785 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.02446, allocations: 202.5 kB / 0.7787 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.02467, allocations: 342.5 kB / 0.779 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.02505, allocations: 446.7 kB / 0.7794 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.02631, allocations: 1.658 MB / 0.781 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02632, allocations: 6.984 kB / 0.781 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.263e-06/0.02632, allocations: 0 / 0.781 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.02634, allocations: 0 / 0.781 GB, free: 1.117 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.001822/0.02816, allocations: 2.086 MB / 0.7831 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.0282, allocations: 8.562 kB / 0.7831 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.02836, allocations: 142.4 kB / 0.7832 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.02958, allocations: 1.152 MB / 0.7843 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.02961, allocations: 37.3 kB / 0.7844 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.02965, allocations: 36.12 kB / 0.7844 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.02993, allocations: 267.9 kB / 0.7847 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.02994, allocations: 0 / 0.7847 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.02996, allocations: 21.3 kB / 0.7847 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.03, allocations: 20.98 kB / 0.7847 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.03014, allocations: 114.8 kB / 0.7848 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.0314, allocations: 0.9572 MB / 0.7857 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.03165, allocations: 208.8 kB / 0.7859 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.0317, allocations: 44.83 kB / 0.786 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.03171, allocations: 4.875 kB / 0.786 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.03173, allocations: 34.56 kB / 0.786 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.03173, allocations: 0 / 0.786 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0002564/0.03198, allocations: 217.8 kB / 0.7862 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.03201, allocations: 55.41 kB / 0.7863 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.03303, allocations: 1.422 MB / 0.7877 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.03305, allocations: 29.7 kB / 0.7877 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.03329, allocations: 439.8 kB / 0.7881 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.03333, allocations: 83.25 kB / 0.7882 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.0334, allocations: 73.58 kB / 0.7883 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.03347, allocations: 325.9 kB / 0.7886 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.03352, allocations: 30.81 kB / 0.7886 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.03362, allocations: 141.5 kB / 0.7887 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.03376, allocations: 183.5 kB / 0.7889 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.03376, allocations: 0 / 0.7889 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002534/0.03401, allocations: 266 kB / 0.7892 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.03402, allocations: 4 kB / 0.7892 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.03403, allocations: 8.609 kB / 0.7892 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.03404, allocations: 4 kB / 0.7892 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.03419, allocations: 68.72 kB / 0.7893 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.03419, allocations: 4.781 kB / 0.7893 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.03439, allocations: 31.78 kB / 0.7893 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.03441, allocations: 12.56 kB / 0.7893 GB, free: 8.344 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.0001635/0.03457, allocations: 133 kB / 0.7894 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.03466, allocations: 104.7 kB / 0.7895 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.03481, allocations: 162.2 kB / 0.7897 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.03481, allocations: 8.844 kB / 0.7897 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.03482, allocations: 0 / 0.7897 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.03482, allocations: 0 / 0.7897 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.0355, allocations: 0.7352 MB / 0.7904 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.0355, allocations: 0 / 0.7904 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.03559, allocations: 44.52 kB / 0.7905 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.03559, allocations: 5.031 kB / 0.7905 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.0356, allocations: 7.984 kB / 0.7905 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.0356, allocations: 4.875 kB / 0.7905 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0356, allocations: 0 / 0.7905 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.03583, allocations: 366.8 kB / 0.7908 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.03606, allocations: 199.7 kB / 0.791 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.03615, allocations: 4 kB / 0.791 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.03631, allocations: 4 kB / 0.791 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.03633, allocations: 16.53 kB / 0.791 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.03634, allocations: 9 kB / 0.791 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006042/0.03695, allocations: 0.7682 MB / 0.7918 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.03695, allocations: 4 kB / 0.7918 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004013/0.03735, allocations: 232.7 kB / 0.792 GB, free: 5.48 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.0003059/0.03766, allocations: 156.7 kB / 0.7922 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.03781, allocations: 120.3 kB / 0.7923 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.03782, allocations: 20.97 kB / 0.7923 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.03787, allocations: 44.78 kB / 0.7923 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.03899, allocations: 0.594 MB / 0.7929 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.04174, allocations: 2.599 MB / 0.7955 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.04208, allocations: 491.3 kB / 0.7959 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003517/0.04243, allocations: 159.5 kB / 0.7961 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/0.04305, allocations: 411.6 kB / 0.7965 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/0.04306, allocations: 3.938 kB / 0.7965 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of Templates: time 0.02697/0.07003, allocations: 23.42 MB / 0.8194 GB, free: 10.1 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 -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.041308166924864]