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.001919/0.001919, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002387/0.002387, allocations: 166.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.957/2.957, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",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.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/2.984e-05, allocations: 6.219 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009522/0.009552, allocations: 6.511 MB / 1.007 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008405/0.01796, allocations: 4.723 MB / 1.011 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.01926, allocations: 71.5 kB / 1.011 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005139/0.02439, allocations: 1.601 MB / 1.013 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.02651, allocations: 0.6357 MB / 1.013 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.02752, allocations: 233.8 kB / 1.014 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003/0.03052, allocations: 1.842 MB / 1.015 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007231/0.03125, allocations: 236 kB / 1.016 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.03321, allocations: 0.9855 MB / 1.017 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.03451, allocations: 0.6817 MB / 1.017 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.03479, allocations: 80 kB / 1.017 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.03551, allocations: 211.7 kB / 1.018 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.03597, allocations: 354.4 kB / 1.018 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008379/0.03681, allocations: 450.7 kB / 1.018 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.03975, allocations: 2.371 MB / 1.021 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.03975, allocations: 0 / 1.021 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.537e-06/0.03975, allocations: 4 kB / 1.021 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.376e-05/0.03979, allocations: 0 / 1.021 GB, free: 2.164 MB / 0.9669 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.003517/0.0433, allocations: 2.23 MB / 1.023 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.04334, allocations: 8.031 kB / 1.023 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.04365, allocations: 215.5 kB / 1.023 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.04655, allocations: 1.606 MB / 1.025 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.04659, allocations: 34.86 kB / 1.025 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.04665, allocations: 35.94 kB / 1.025 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.04745, allocations: 472 kB / 1.025 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.04747, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.04751, allocations: 19.98 kB / 1.025 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.04756, allocations: 24.92 kB / 1.025 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.0483, allocations: 427.6 kB / 1.026 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.05139, allocations: 1.676 MB / 1.027 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.05248, allocations: 488.6 kB / 1.028 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.05279, allocations: 191.5 kB / 1.028 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.05281, allocations: 4.281 kB / 1.028 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.05285, allocations: 42.83 kB / 1.028 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.05285, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.001107/0.05396, allocations: 0.6439 MB / 1.029 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.05401, allocations: 55.97 kB / 1.029 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003534/0.05755, allocations: 2.462 MB / 1.031 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.05759, allocations: 33.7 kB / 1.031 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008731/0.05847, allocations: 0.7601 MB / 1.032 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.05859, allocations: 119 kB / 1.032 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.05872, allocations: 73.5 kB / 1.032 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.05889, allocations: 322 kB / 1.032 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.05913, allocations: 135.9 kB / 1.032 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.05944, allocations: 204.5 kB / 1.033 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.05997, allocations: 325.5 kB / 1.033 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.05998, allocations: 0 / 1.033 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008738/0.06085, allocations: 0.5275 MB / 1.033 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.06087, allocations: 6.344 kB / 1.033 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.06087, allocations: 0 / 1.033 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.06089, allocations: 4 kB / 1.033 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.06127, allocations: 79.89 kB / 1.034 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.06128, allocations: 0 / 1.034 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.06167, allocations: 31.81 kB / 1.034 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.06169, allocations: 8 kB / 1.034 GB, free: 4.684 MB / 0.9825 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.0009195/0.06261, allocations: 0.6891 MB / 1.034 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.06285, allocations: 186.7 kB / 1.034 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.06318, allocations: 214.6 kB / 1.035 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.06318, allocations: 7.984 kB / 1.035 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.06319, allocations: 0 / 1.035 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.0632, allocations: 3.938 kB / 1.035 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.06538, allocations: 1.385 MB / 1.036 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.06539, allocations: 8.094 kB / 1.036 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.06571, allocations: 71.89 kB / 1.036 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.06572, allocations: 4 kB / 1.036 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.06575, allocations: 19.88 kB / 1.036 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.06575, allocations: 7.938 kB / 1.036 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.06576, allocations: 0 / 1.036 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/0.06661, allocations: 0.6397 MB / 1.037 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/0.0672, allocations: 302.6 kB / 1.037 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.06736, allocations: 7.938 kB / 1.037 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.06778, allocations: 12 kB / 1.037 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.06783, allocations: 27.89 kB / 1.037 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.06786, allocations: 12 kB / 1.037 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002689/0.07055, allocations: 1.767 MB / 1.039 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.07055, allocations: 0 / 1.039 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007238/0.07127, allocations: 235.7 kB / 1.039 GB, free: 14.99 MB / 0.9981 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.0004681/0.07174, allocations: 163.5 kB / 1.039 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.07235, allocations: 331.8 kB / 1.04 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.07235, allocations: 0 / 1.04 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.07261, allocations: 163.8 kB / 1.04 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.07496, allocations: 0.5983 MB / 1.04 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.08052, allocations: 3.342 MB / 1.044 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.08192, allocations: 1.174 MB / 1.045 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008566/0.08277, allocations: 302.6 kB / 1.045 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.08299, allocations: 80.5 kB / 1.045 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/0.08299, allocations: 0 / 1.045 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.04108/0.1241, allocations: 21.88 MB / 1.066 GB, free: 3.297 MB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.503353726118803]