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.0008162/0.0008162, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002017, allocations: 449.7 kB / 10.37 MB, free: 328 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.000704/0.000704, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009363/0.00164, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9234/0.9234, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08462/1.008, allocations: 53.64 MB / 243.2 MB, free: 15.59 MB / 250.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.864/1.864, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4466/2.31, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 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.443e-06/1.443e-06, allocations: 0 / 0.7294 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.876e-06/1.032e-05, allocations: 3.375 kB / 0.7294 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005536/0.005546, allocations: 7.242 MB / 0.7365 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004558/0.0101, allocations: 5.26 MB / 0.7416 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.01052, allocations: 71.5 kB / 0.7417 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.01272, allocations: 1.637 MB / 0.7433 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000676/0.01339, allocations: 0.642 MB / 0.7439 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.01376, allocations: 222.6 kB / 0.7441 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.01493, allocations: 1.852 MB / 0.7459 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.01522, allocations: 248.6 kB / 0.7462 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.01642, allocations: 1.368 MB / 0.7475 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005314/0.01695, allocations: 0.6778 MB / 0.7482 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.259e-05/0.01705, allocations: 83.94 kB / 0.7483 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.01737, allocations: 204.7 kB / 0.7485 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.01756, allocations: 283.3 kB / 0.7487 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.01787, allocations: 386.8 kB / 0.7491 GB, free: 232 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.01897, allocations: 1.608 MB / 0.7507 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.01898, allocations: 0.5938 kB / 0.7507 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.71e-07/0.01899, allocations: 0 / 0.7507 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.01901, allocations: 4.594 kB / 0.7507 GB, free: 14.61 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.00176/0.02077, allocations: 2.4 MB / 0.753 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.02079, allocations: 9.531 kB / 0.753 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.02094, allocations: 140.8 kB / 0.7532 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.02219, allocations: 1.168 MB / 0.7543 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.02221, allocations: 29.38 kB / 0.7543 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.02224, allocations: 40.11 kB / 0.7544 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.0225, allocations: 268.1 kB / 0.7546 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.02251, allocations: 4 kB / 0.7546 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.02254, allocations: 15.98 kB / 0.7546 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.02258, allocations: 21.97 kB / 0.7547 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.02272, allocations: 118.9 kB / 0.7548 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.02392, allocations: 0.9567 MB / 0.7557 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.02419, allocations: 230.4 kB / 0.7559 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.02424, allocations: 40.84 kB / 0.756 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.02425, allocations: 4.938 kB / 0.756 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.02427, allocations: 34.56 kB / 0.756 GB, free: 9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.442e-06/0.02427, allocations: 0.9375 kB / 0.756 GB, free: 9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0002404/0.02451, allocations: 216.2 kB / 0.7562 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.02453, allocations: 56.5 kB / 0.7563 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009729/0.0255, allocations: 1.425 MB / 0.7577 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.02552, allocations: 33.7 kB / 0.7577 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.02576, allocations: 431 kB / 0.7581 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.02581, allocations: 83.25 kB / 0.7582 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.02587, allocations: 77.56 kB / 0.7583 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.02594, allocations: 322.6 kB / 0.7586 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.02598, allocations: 30.83 kB / 0.7586 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.02607, allocations: 149.7 kB / 0.7587 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.0262, allocations: 171.6 kB / 0.7589 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.0262, allocations: 0 / 0.7589 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000231/0.02643, allocations: 260 kB / 0.7591 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.02644, allocations: 8 kB / 0.7592 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.02645, allocations: 9.422 kB / 0.7592 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.02646, allocations: 4 kB / 0.7592 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.02665, allocations: 80.92 kB / 0.7592 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.02665, allocations: 8 kB / 0.7593 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.02685, allocations: 35.77 kB / 0.7593 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.02687, allocations: 8.875 kB / 0.7593 GB, free: 5.473 MB / 0.7292 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.0001525/0.02702, allocations: 132.5 kB / 0.7594 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.02711, allocations: 108.6 kB / 0.7595 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.02726, allocations: 162.2 kB / 0.7597 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02726, allocations: 4.781 kB / 0.7597 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.02726, allocations: 0 / 0.7597 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02726, allocations: 1.062 kB / 0.7597 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.0279, allocations: 0.7286 MB / 0.7604 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.0279, allocations: 0.8438 kB / 0.7604 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.02802, allocations: 64.91 kB / 0.7605 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.02839, allocations: 198.6 kB / 0.7606 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.02839, allocations: 1.031 kB / 0.7606 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.0284, allocations: 0 / 0.7606 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.0284, allocations: 4 kB / 0.7607 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0284, allocations: 0.9375 kB / 0.7607 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.02861, allocations: 360.1 kB / 0.761 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.02869, allocations: 4 kB / 0.761 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.02887, allocations: 13.06 kB / 0.761 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.02888, allocations: 15.91 kB / 0.761 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.02889, allocations: 9 kB / 0.761 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005782/0.02947, allocations: 0.7722 MB / 0.7618 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.02947, allocations: 0 / 0.7618 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003469/0.02982, allocations: 232.9 kB / 0.762 GB, free: 2.609 MB / 0.7292 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.0002623/0.03008, allocations: 157.4 kB / 0.7622 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.03023, allocations: 119.3 kB / 0.7623 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-05/0.03024, allocations: 24.56 kB / 0.7623 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.03029, allocations: 52.75 kB / 0.7623 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.0314, allocations: 0.692 MB / 0.763 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008544/0.03994, allocations: 2.635 MB / 0.7656 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.04028, allocations: 494.8 kB / 0.7661 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003028/0.04059, allocations: 164.1 kB / 0.7662 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006247/0.04121, allocations: 411.6 kB / 0.7666 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.04121, allocations: 0 / 0.7666 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.02568/0.06689, allocations: 25.06 MB / 0.7911 GB, free: 5.445 MB / 0.7605 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.ref.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: 4.982817891985178]