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.000979/0.000979, allocations: 93.06 kB / 19.65 MB, free: 276 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.001037/0.001037, allocations: 165 kB / 23.01 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.9487/0.9487, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.02/2.02, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.783e-06/1.783e-06, allocations: 0 / 0.8783 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.685e-05, allocations: 7.406 kB / 0.8783 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006535/0.006562, allocations: 7.403 MB / 0.8855 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004909/0.01147, allocations: 5.128 MB / 0.8905 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000503/0.01197, allocations: 75.44 kB / 0.8906 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.01478, allocations: 1.601 MB / 0.8921 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007689/0.01555, allocations: 0.6395 MB / 0.8928 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.01598, allocations: 231.4 kB / 0.893 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.0172, allocations: 1.834 MB / 0.8948 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.01751, allocations: 232 kB / 0.895 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007695/0.01828, allocations: 0.9971 MB / 0.896 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005601/0.01884, allocations: 0.6934 MB / 0.8966 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.01895, allocations: 80 kB / 0.8967 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.01929, allocations: 207.7 kB / 0.8969 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.01951, allocations: 350.4 kB / 0.8973 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.01986, allocations: 454.7 kB / 0.8977 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.02133, allocations: 1.673 MB / 0.8993 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.02133, allocations: 0 / 0.8993 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.333e-06/0.02134, allocations: 0 / 0.8993 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.02135, allocations: 0 / 0.8993 GB, free: 0.5938 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.002093/0.02344, allocations: 2.503 MB / 0.9018 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.02348, allocations: 8.031 kB / 0.9018 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.02367, allocations: 239.5 kB / 0.902 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.02514, allocations: 1.395 MB / 0.9034 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.02516, allocations: 29.36 kB / 0.9034 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.0252, allocations: 39.94 kB / 0.9034 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.02553, allocations: 260.1 kB / 0.9037 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.02554, allocations: 0 / 0.9037 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.02557, allocations: 23.97 kB / 0.9037 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.02561, allocations: 17 kB / 0.9037 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.02585, allocations: 169.8 kB / 0.9039 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.02807, allocations: 1.815 MB / 0.9056 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.02855, allocations: 264.3 kB / 0.9059 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.02866, allocations: 92.08 kB / 0.906 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.02867, allocations: 8.281 kB / 0.906 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.02869, allocations: 37.61 kB / 0.906 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=34): time 1.764e-06/0.02869, allocations: 4 kB / 0.906 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34): time 0.0004694/0.02916, allocations: 406.7 kB / 0.9064 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.02919, allocations: 55.41 kB / 0.9065 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.03107, allocations: 2.168 MB / 0.9086 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.0311, allocations: 33.7 kB / 0.9086 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.03178, allocations: 1 MB / 0.9096 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.03185, allocations: 130.9 kB / 0.9097 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.03192, allocations: 75.31 kB / 0.9098 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.03203, allocations: 0.4926 MB / 0.9103 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/0.03211, allocations: 35.97 kB / 0.9103 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.03222, allocations: 107.1 kB / 0.9104 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.03238, allocations: 124.6 kB / 0.9105 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.03239, allocations: 0 / 0.9105 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000343/0.03273, allocations: 352.2 kB / 0.9109 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.03274, allocations: 14.12 kB / 0.9109 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.03275, allocations: 4 kB / 0.9109 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.03277, allocations: 0 / 0.9109 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.03296, allocations: 83.92 kB / 0.911 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.03296, allocations: 4 kB / 0.911 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.03312, allocations: 19.88 kB / 0.911 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.03314, allocations: 12 kB / 0.911 GB, free: 4.32 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (36): * Single equations (assignments): 36 * 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.0001771/0.03332, allocations: 168.5 kB / 0.9112 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.03344, allocations: 202.7 kB / 0.9114 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.03359, allocations: 166.6 kB / 0.9115 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.03359, allocations: 4 kB / 0.9115 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.03359, allocations: 0 / 0.9115 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.0336, allocations: 0 / 0.9115 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.03524, allocations: 1.588 MB / 0.9131 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.03525, allocations: 4 kB / 0.9131 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.0354, allocations: 67.95 kB / 0.9131 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.0354, allocations: 4 kB / 0.9131 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.03541, allocations: 11.94 kB / 0.9132 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.03542, allocations: 0 / 0.9132 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.03542, allocations: 3.984 kB / 0.9132 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.03578, allocations: 0.5512 MB / 0.9137 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.03608, allocations: 274.6 kB / 0.914 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.03616, allocations: 11.98 kB / 0.914 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.03634, allocations: 11.94 kB / 0.914 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.03637, allocations: 27.89 kB / 0.914 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.03638, allocations: 8 kB / 0.914 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001106/0.03749, allocations: 1.166 MB / 0.9152 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.03749, allocations: 0 / 0.9152 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003982/0.03789, allocations: 239.7 kB / 0.9154 GB, free: 15.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.0002804/0.03817, allocations: 164.5 kB / 0.9155 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.03841, allocations: 159.4 kB / 0.9157 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03841, allocations: 4 kB / 0.9157 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/0.03851, allocations: 92.31 kB / 0.9158 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.03971, allocations: 0.6017 MB / 0.9164 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.04238, allocations: 2.723 MB / 0.919 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.04299, allocations: 0.5611 MB / 0.9196 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003425/0.04333, allocations: 226.6 kB / 0.9198 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.04345, allocations: 80.5 kB / 0.9199 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.04345, allocations: 0 / 0.9199 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of Templates: time 0.02338/0.06683, allocations: 21.76 MB / 0.9411 GB, free: 5.723 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.542186527047306]