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.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.001327/0.001327, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001577/0.001577, allocations: 169 kB / 24.06 MB, free: 452 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.952/0.952, allocations: 177.1 MB / 204.5 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.048/2.048, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.8795 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.869e-05, allocations: 5.25 kB / 0.8795 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005872/0.005891, allocations: 7.137 MB / 0.8865 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005317/0.01121, allocations: 5.058 MB / 0.8914 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007976/0.01201, allocations: 71.44 kB / 0.8915 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.01498, allocations: 1.612 MB / 0.893 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.01602, allocations: 0.6433 MB / 0.8937 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.01652, allocations: 229.6 kB / 0.8939 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.01805, allocations: 1.837 MB / 0.8957 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003934/0.01844, allocations: 232 kB / 0.8959 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.01948, allocations: 1.005 MB / 0.8969 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.02011, allocations: 0.6856 MB / 0.8976 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.02023, allocations: 80 kB / 0.8976 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.02057, allocations: 203.7 kB / 0.8978 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.02079, allocations: 342.5 kB / 0.8981 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.02118, allocations: 454.7 kB / 0.8986 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.0224, allocations: 1.654 MB / 0.9002 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.0224, allocations: 0 / 0.9002 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.72e-07/0.0224, allocations: 0 / 0.9002 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.02242, allocations: 0 / 0.9002 GB, free: 0.625 MB / 0.8542 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.002048/0.02447, allocations: 2.481 MB / 0.9026 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.0245, allocations: 12.03 kB / 0.9026 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.0247, allocations: 243.6 kB / 0.9029 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.02602, allocations: 1.344 MB / 0.9042 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.02604, allocations: 25.38 kB / 0.9042 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.02608, allocations: 39.19 kB / 0.9042 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.02633, allocations: 244.1 kB / 0.9045 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.02634, allocations: 0 / 0.9045 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.02637, allocations: 16 kB / 0.9045 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.0264, allocations: 20.98 kB / 0.9045 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.02656, allocations: 130.8 kB / 0.9046 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.02814, allocations: 1.394 MB / 0.906 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.02839, allocations: 158.5 kB / 0.9061 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.02845, allocations: 59.59 kB / 0.9062 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.02846, allocations: 7.938 kB / 0.9062 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.02848, allocations: 33.39 kB / 0.9062 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.02848, allocations: 4 kB / 0.9062 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24): time 0.0003281/0.02881, allocations: 328.8 kB / 0.9066 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.02883, allocations: 55.41 kB / 0.9066 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.03048, allocations: 2.165 MB / 0.9087 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.0305, allocations: 29.7 kB / 0.9088 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000684/0.03118, allocations: 1.066 MB / 0.9098 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.03123, allocations: 87.27 kB / 0.9099 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.0313, allocations: 91.22 kB / 0.91 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.03142, allocations: 0.4964 MB / 0.9104 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.535e-05/0.03145, allocations: 23.98 kB / 0.9105 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.03158, allocations: 199.1 kB / 0.9107 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.03173, allocations: 205.1 kB / 0.9109 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.03173, allocations: 4 kB / 0.9109 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003172/0.03205, allocations: 368.1 kB / 0.9112 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.03206, allocations: 4 kB / 0.9112 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.03207, allocations: 4 kB / 0.9112 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.03208, allocations: 7.938 kB / 0.9112 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.03222, allocations: 72.25 kB / 0.9113 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.03223, allocations: 4 kB / 0.9113 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.03244, allocations: 35.77 kB / 0.9113 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.03246, allocations: 12 kB / 0.9113 GB, free: 4.809 MB / 0.8698 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.0001884/0.03264, allocations: 172.5 kB / 0.9115 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.03278, allocations: 198.7 kB / 0.9117 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.03293, allocations: 158.2 kB / 0.9119 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.03293, allocations: 7.938 kB / 0.9119 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.03294, allocations: 0 / 0.9119 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.03294, allocations: 0 / 0.9119 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.03388, allocations: 1.066 MB / 0.9129 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.03388, allocations: 0 / 0.9129 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.03397, allocations: 43.97 kB / 0.9129 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.03398, allocations: 0 / 0.9129 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.03399, allocations: 7.938 kB / 0.9129 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.03399, allocations: 4 kB / 0.913 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.03399, allocations: 3.938 kB / 0.913 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.03427, allocations: 488.8 kB / 0.9134 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.03453, allocations: 246.6 kB / 0.9137 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.03462, allocations: 15.95 kB / 0.9137 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.0348, allocations: 8 kB / 0.9137 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.03482, allocations: 7.984 kB / 0.9137 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.03483, allocations: 8 kB / 0.9137 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008639/0.03569, allocations: 1.104 MB / 0.9148 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.03569, allocations: 0 / 0.9148 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004142/0.03611, allocations: 231.7 kB / 0.915 GB, free: 0.9688 MB / 0.8698 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.0002942/0.0364, allocations: 170.5 kB / 0.9152 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.03657, allocations: 129.5 kB / 0.9153 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.03657, allocations: 4 kB / 0.9153 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.03662, allocations: 63.58 kB / 0.9153 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.03783, allocations: 0.6004 MB / 0.9159 GB, free: 20 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.04062, allocations: 2.643 MB / 0.9185 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.041, allocations: 0.5639 MB / 0.9191 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.04134, allocations: 158.8 kB / 0.9192 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006545/0.04199, allocations: 481.8 kB / 0.9197 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of SimCode: time 8.62e-07/0.042, allocations: 0 / 0.9197 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of Templates: time 0.02623/0.06823, allocations: 23.52 MB / 0.9426 GB, free: 5.051 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.506522464565933]