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.001414/0.001414, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001612/0.001612, allocations: 173 kB / 23.02 MB, free: 1.551 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.9902/0.9902, allocations: 177.2 MB / 203.4 MB, free: 5.637 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.062/2.062, allocations: 429.5 MB / 0.6733 GB, free: 4.004 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.493e-06/1.493e-06, allocations: 0 / 0.8783 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.377e-05, allocations: 6.25 kB / 0.8783 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006489/0.006513, allocations: 7.402 MB / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006451/0.01296, allocations: 5.134 MB / 0.8905 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.01456, allocations: 71.44 kB / 0.8906 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003459/0.01802, allocations: 1.597 MB / 0.8921 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.01926, allocations: 0.655 MB / 0.8928 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.01978, allocations: 227.4 kB / 0.893 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.02139, allocations: 1.837 MB / 0.8948 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.02205, allocations: 228 kB / 0.895 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.02438, allocations: 1.005 MB / 0.896 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.02586, allocations: 0.6856 MB / 0.8967 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/0.02631, allocations: 80 kB / 0.8967 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000922/0.02723, allocations: 203.7 kB / 0.8969 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004981/0.02773, allocations: 338.5 kB / 0.8972 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.02896, allocations: 454.7 kB / 0.8977 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.03053, allocations: 1.65 MB / 0.8993 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.03054, allocations: 4 kB / 0.8993 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/0.03054, allocations: 0 / 0.8993 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.199e-05/0.03058, allocations: 0 / 0.8993 GB, free: 0.6133 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.002409/0.03299, allocations: 2.495 MB / 0.9017 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.03303, allocations: 8.031 kB / 0.9017 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.03327, allocations: 235.6 kB / 0.902 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.03475, allocations: 1.402 MB / 0.9033 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.03478, allocations: 29.38 kB / 0.9034 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.03482, allocations: 44.11 kB / 0.9034 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.03516, allocations: 260.2 kB / 0.9037 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.03517, allocations: 4 kB / 0.9037 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.0352, allocations: 16 kB / 0.9037 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.03525, allocations: 20.98 kB / 0.9037 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.03548, allocations: 161.8 kB / 0.9038 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.03777, allocations: 1.873 MB / 0.9057 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.0381, allocations: 179.4 kB / 0.9058 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.03818, allocations: 63.66 kB / 0.9059 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.03819, allocations: 4 kB / 0.9059 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.03822, allocations: 37.39 kB / 0.9059 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=24): time 2.535e-06/0.03822, allocations: 0 / 0.9059 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24): time 0.0003916/0.03861, allocations: 346.6 kB / 0.9063 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.03864, allocations: 55.59 kB / 0.9063 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.04063, allocations: 2.221 MB / 0.9085 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.04065, allocations: 37.7 kB / 0.9085 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006833/0.04133, allocations: 1.047 MB / 0.9096 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.04138, allocations: 79.34 kB / 0.9096 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.04146, allocations: 87.25 kB / 0.9097 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.04157, allocations: 0.4926 MB / 0.9102 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.04163, allocations: 35.97 kB / 0.9102 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.04178, allocations: 207.2 kB / 0.9104 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.04197, allocations: 224 kB / 0.9106 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.04197, allocations: 0 / 0.9106 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003817/0.04235, allocations: 388.2 kB / 0.911 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.04237, allocations: 10.03 kB / 0.911 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.04238, allocations: 0 / 0.911 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.04239, allocations: 4 kB / 0.911 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.04255, allocations: 71.84 kB / 0.9111 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.04256, allocations: 11.94 kB / 0.9111 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.04279, allocations: 35.77 kB / 0.9111 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.04281, allocations: 12.28 kB / 0.9112 GB, free: 4.07 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.0001788/0.04298, allocations: 176.5 kB / 0.9113 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.04311, allocations: 198.7 kB / 0.9115 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.04348, allocations: 162.1 kB / 0.9117 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.04349, allocations: 4 kB / 0.9117 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.04349, allocations: 0 / 0.9117 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.0435, allocations: 7.922 kB / 0.9117 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.0448, allocations: 1.503 MB / 0.9131 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0448, allocations: 0 / 0.9131 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.04491, allocations: 43.95 kB / 0.9132 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.04491, allocations: 4 kB / 0.9132 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.04492, allocations: 4 kB / 0.9132 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.04493, allocations: 7.938 kB / 0.9132 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.04493, allocations: 0 / 0.9132 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.04525, allocations: 0.4905 MB / 0.9137 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.04553, allocations: 266.5 kB / 0.9139 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.04562, allocations: 8 kB / 0.9139 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.04581, allocations: 7.938 kB / 0.9139 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.04584, allocations: 19.91 kB / 0.914 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.04585, allocations: 8 kB / 0.914 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001179/0.04703, allocations: 1.186 MB / 0.9151 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.04703, allocations: 0 / 0.9151 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004491/0.04748, allocations: 231.7 kB / 0.9154 GB, free: 15.65 MB / 0.8855 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.0003486/0.04783, allocations: 160.1 kB / 0.9155 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.04806, allocations: 144.1 kB / 0.9156 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04807, allocations: 0 / 0.9156 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.393e-05/0.04813, allocations: 69.83 kB / 0.9157 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.04936, allocations: 0.5959 MB / 0.9163 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.05257, allocations: 2.658 MB / 0.9189 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.05293, allocations: 0.56 MB / 0.9194 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000447/0.05338, allocations: 226.7 kB / 0.9197 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.0535, allocations: 84.44 kB / 0.9197 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of SimCode: time 1.343e-06/0.0535, allocations: 0 / 0.9197 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of Templates: time 0.0757/0.1292, allocations: 22.86 MB / 0.9421 GB, free: 4.691 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.519066036213189]