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.001062/0.001062, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002627, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001076/0.001076, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001641/0.002717, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9121/0.9121, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07675/0.9889, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.24/2.24, allocations: 447.1 MB / 0.675 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1955/2.435, allocations: 146 MB / 0.8176 GB, free: 3.859 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.513e-06/1.513e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.53e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008771/0.008787, allocations: 7.237 MB / 0.8261 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008909/0.0177, allocations: 5.269 MB / 0.8312 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.01924, allocations: 71.44 kB / 0.8313 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004809/0.02405, allocations: 1.632 MB / 0.8329 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.02576, allocations: 0.6395 MB / 0.8335 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.02631, allocations: 230 kB / 0.8337 GB, free: 3.277 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.0276, allocations: 1.849 MB / 0.8355 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.02794, allocations: 252.6 kB / 0.8358 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.02911, allocations: 1.376 MB / 0.8371 GB, free: 15.71 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.02968, allocations: 0.6778 MB / 0.8378 GB, free: 15.03 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.02978, allocations: 76 kB / 0.8379 GB, free: 14.96 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.03015, allocations: 207.8 kB / 0.8381 GB, free: 14.75 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.03034, allocations: 290.6 kB / 0.8383 GB, free: 14.47 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.03063, allocations: 394.8 kB / 0.8387 GB, free: 14.08 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.03176, allocations: 1.599 MB / 0.8403 GB, free: 12.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.03177, allocations: 0 / 0.8403 GB, free: 12.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.03177, allocations: 0 / 0.8403 GB, free: 12.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.0318, allocations: 0 / 0.8403 GB, free: 12.48 MB / 0.823 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.001867/0.03367, allocations: 2.409 MB / 0.8426 GB, free: 10.02 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.0337, allocations: 8.031 kB / 0.8426 GB, free: 10.02 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.03385, allocations: 140.8 kB / 0.8428 GB, free: 9.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.03501, allocations: 1.161 MB / 0.8439 GB, free: 8.652 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.03503, allocations: 25.38 kB / 0.8439 GB, free: 8.629 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.03507, allocations: 51.98 kB / 0.844 GB, free: 8.578 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.03534, allocations: 271 kB / 0.8442 GB, free: 8.297 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.03535, allocations: 0 / 0.8442 GB, free: 8.297 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.03538, allocations: 8 kB / 0.8442 GB, free: 8.289 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.03541, allocations: 28.98 kB / 0.8443 GB, free: 8.258 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.03555, allocations: 110.9 kB / 0.8444 GB, free: 8.152 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.03721, allocations: 0.9547 MB / 0.8453 GB, free: 7.176 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.03749, allocations: 223.8 kB / 0.8455 GB, free: 6.953 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.03754, allocations: 40.84 kB / 0.8456 GB, free: 6.91 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.03755, allocations: 12 kB / 0.8456 GB, free: 6.898 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.03757, allocations: 38.95 kB / 0.8456 GB, free: 6.852 MB / 0.823 GB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.03757, allocations: 0 / 0.8456 GB, free: 6.852 MB / 0.823 GB Notification: Performance of matching and sorting (n=24): time 0.0002481/0.03782, allocations: 208 kB / 0.8458 GB, free: 6.645 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.03784, allocations: 55.41 kB / 0.8459 GB, free: 6.578 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.03883, allocations: 1.425 MB / 0.8473 GB, free: 5.121 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.03885, allocations: 29.7 kB / 0.8473 GB, free: 5.086 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.03908, allocations: 438.1 kB / 0.8477 GB, free: 4.645 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.03912, allocations: 83.27 kB / 0.8478 GB, free: 4.562 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.03919, allocations: 77.56 kB / 0.8479 GB, free: 4.48 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.03926, allocations: 325.9 kB / 0.8482 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.0393, allocations: 34.81 kB / 0.8482 GB, free: 4.121 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.03939, allocations: 144.8 kB / 0.8483 GB, free: 3.934 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.03953, allocations: 189.8 kB / 0.8485 GB, free: 3.711 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.03953, allocations: 4 kB / 0.8485 GB, free: 3.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002364/0.03977, allocations: 255.1 kB / 0.8488 GB, free: 3.453 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.03978, allocations: 4 kB / 0.8488 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.03979, allocations: 4.344 kB / 0.8488 GB, free: 3.445 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.0398, allocations: 8 kB / 0.8488 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.03999, allocations: 83.89 kB / 0.8489 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.03999, allocations: 11.92 kB / 0.8489 GB, free: 3.344 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.04019, allocations: 31.78 kB / 0.8489 GB, free: 3.312 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.0402, allocations: 4 kB / 0.8489 GB, free: 3.309 MB / 0.823 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.0001522/0.04035, allocations: 136.5 kB / 0.849 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.04045, allocations: 103.9 kB / 0.8491 GB, free: 3.062 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.0406, allocations: 162.2 kB / 0.8493 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0406, allocations: 8 kB / 0.8493 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.0406, allocations: 3.938 kB / 0.8493 GB, free: 2.891 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.04061, allocations: 0 / 0.8493 GB, free: 2.891 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.04125, allocations: 0.7301 MB / 0.85 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.04126, allocations: 4 kB / 0.85 GB, free: 2.125 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.04137, allocations: 47.97 kB / 0.8501 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.04159, allocations: 202.6 kB / 0.8503 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.04159, allocations: 0 / 0.8503 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.0416, allocations: 12.03 kB / 0.8503 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.0416, allocations: 3.938 kB / 0.8503 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0416, allocations: 0 / 0.8503 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.04182, allocations: 365.8 kB / 0.8506 GB, free: 1.484 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.0419, allocations: 4 kB / 0.8506 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.04208, allocations: 4 kB / 0.8506 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.0421, allocations: 15.97 kB / 0.8506 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.0421, allocations: 4 kB / 0.8507 GB, free: 1.457 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006188/0.04272, allocations: 0.7722 MB / 0.8514 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.04272, allocations: 0 / 0.8514 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000351/0.04307, allocations: 235.7 kB / 0.8516 GB, free: 444 kB / 0.823 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.000281/0.04336, allocations: 166.4 kB / 0.8518 GB, free: 288 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.04351, allocations: 118.7 kB / 0.8519 GB, free: 168 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/0.04353, allocations: 29.02 kB / 0.8519 GB, free: 140 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.04386, allocations: 368.9 kB / 0.8523 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.0462, allocations: 5.251 MB / 0.8574 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008825/0.05502, allocations: 2.617 MB / 0.86 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.05537, allocations: 493.5 kB / 0.8604 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003457/0.05571, allocations: 158.8 kB / 0.8606 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006519/0.05637, allocations: 415.1 kB / 0.861 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/0.05637, allocations: 0 / 0.861 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of Templates: time 0.02567/0.08204, allocations: 24.99 MB / 0.8854 GB, free: 13.37 MB / 0.8698 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.021469731815159]