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.001695/0.001695, allocations: 81.03 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.002009/0.002009, allocations: 163.1 kB / 22.46 MB, free: 5.359 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.491/1.491, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.973/2.973, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_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.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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.73e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00913/0.009158, allocations: 6.511 MB / 0.9879 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00834/0.0175, allocations: 4.733 MB / 0.9925 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.01925, allocations: 75.44 kB / 0.9926 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.02441, allocations: 1.589 MB / 0.9941 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.02662, allocations: 0.6473 MB / 0.9948 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008809/0.0275, allocations: 229.2 kB / 0.995 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.03004, allocations: 1.837 MB / 0.9968 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.03052, allocations: 228 kB / 0.997 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.03197, allocations: 0.9972 MB / 0.998 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.033, allocations: 0.6817 MB / 0.9986 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.03318, allocations: 84 kB / 0.9987 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005717/0.03375, allocations: 207.7 kB / 0.9989 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.03414, allocations: 350.4 kB / 0.9992 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006339/0.03478, allocations: 450.7 kB / 0.9997 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.03762, allocations: 2.367 MB / 1.002 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.03762, allocations: 0 / 1.002 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.03763, allocations: 4 kB / 1.002 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.03765, allocations: 0 / 1.002 GB, free: 6.828 MB / 0.9512 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.003532/0.04118, allocations: 2.243 MB / 1.004 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.04122, allocations: 8.031 kB / 1.004 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.04152, allocations: 215.5 kB / 1.004 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.04441, allocations: 1.61 MB / 1.006 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.04445, allocations: 29.38 kB / 1.006 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.04451, allocations: 35.94 kB / 1.006 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.04532, allocations: 483.9 kB / 1.006 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.04533, allocations: 4 kB / 1.006 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.04537, allocations: 12 kB / 1.006 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.04542, allocations: 21 kB / 1.007 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.04613, allocations: 423.6 kB / 1.007 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.04925, allocations: 1.668 MB / 1.009 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.05033, allocations: 492.6 kB / 1.009 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.05064, allocations: 188.5 kB / 1.009 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.05067, allocations: 8.219 kB / 1.009 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.0507, allocations: 42.78 kB / 1.009 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.0507, allocations: 0 / 1.009 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.001136/0.05184, allocations: 0.6469 MB / 1.01 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.0519, allocations: 55.41 kB / 1.01 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/0.05549, allocations: 2.462 MB / 1.012 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.05554, allocations: 33.7 kB / 1.012 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008835/0.05642, allocations: 0.7601 MB / 1.013 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.05654, allocations: 122.8 kB / 1.013 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.05667, allocations: 69.64 kB / 1.013 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.05684, allocations: 318 kB / 1.014 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.05709, allocations: 139.9 kB / 1.014 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.05741, allocations: 200.1 kB / 1.014 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.05794, allocations: 330.2 kB / 1.014 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.05795, allocations: 0 / 1.014 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008765/0.05882, allocations: 0.5197 MB / 1.015 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.05885, allocations: 15.88 kB / 1.015 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.05886, allocations: 4.031 kB / 1.015 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.05888, allocations: 3.938 kB / 1.015 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.05928, allocations: 79.89 kB / 1.015 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.0593, allocations: 4 kB / 1.015 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.05968, allocations: 19.88 kB / 1.015 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.05971, allocations: 12 kB / 1.015 GB, free: 9.332 MB / 0.9669 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.0009347/0.06065, allocations: 0.6866 MB / 1.016 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.06094, allocations: 198.7 kB / 1.016 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.06137, allocations: 206.6 kB / 1.016 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.06137, allocations: 4 kB / 1.016 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.06138, allocations: 8 kB / 1.016 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.06139, allocations: 3.984 kB / 1.016 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.06393, allocations: 1.386 MB / 1.017 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.06394, allocations: 0 / 1.017 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.06428, allocations: 83.89 kB / 1.017 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.06429, allocations: 4 kB / 1.017 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.06432, allocations: 7.984 kB / 1.017 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.06432, allocations: 7.984 kB / 1.017 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.06433, allocations: 4.094 kB / 1.017 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.06521, allocations: 0.6393 MB / 1.018 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/0.06581, allocations: 294.6 kB / 1.018 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.06597, allocations: 11.98 kB / 1.018 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.06639, allocations: 12 kB / 1.018 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.06643, allocations: 15.97 kB / 1.018 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.06646, allocations: 12 kB / 1.018 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002681/0.06914, allocations: 1.767 MB / 1.02 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.06914, allocations: 0 / 1.02 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007383/0.06988, allocations: 235.7 kB / 1.02 GB, free: 3.656 MB / 0.9669 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.0004861/0.07036, allocations: 181.3 kB / 1.02 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.07099, allocations: 327.6 kB / 1.021 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.07099, allocations: 7.875 kB / 1.021 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.07126, allocations: 163.7 kB / 1.021 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.07371, allocations: 0.5892 MB / 1.022 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/0.07946, allocations: 3.341 MB / 1.025 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.08097, allocations: 1.174 MB / 1.026 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009333/0.0819, allocations: 302.6 kB / 1.026 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.08211, allocations: 80.5 kB / 1.026 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of SimCode: time 1.953e-06/0.08211, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.0413/0.1234, allocations: 21.9 MB / 1.048 GB, free: 8.008 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.56527567282319]