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.001451/0.001451, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001683/0.001683, allocations: 207.9 kB / 23.03 MB, free: 4.863 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.852/1.852, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.753/3.753, allocations: 0.49 GB / 0.7959 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 62.59 kB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4505, allocations: 176.1 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.01003/0.4606, allocations: 6.501 MB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009066/0.4696, allocations: 4.717 MB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.4715, allocations: 79.38 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005403/0.4769, allocations: 1.578 MB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.4793, allocations: 0.6244 MB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.4803, allocations: 229.8 kB / 1.341 GB, free: 3.082 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002957/0.4833, allocations: 1.757 MB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.4838, allocations: 228 kB / 1.343 GB, free: 1.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.4852, allocations: 0.7505 MB / 1.343 GB, free: 324 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.4864, allocations: 0.824 MB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.4865, allocations: 80 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005662/0.4871, allocations: 203.7 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.4875, allocations: 330.5 kB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007502/0.4882, allocations: 0.5901 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003074/0.4913, allocations: 2.466 MB / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4913, allocations: 0 / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4913, allocations: 0 / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.75e-05/0.4914, allocations: 0 / 1.348 GB, free: 11.82 MB / 1.045 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.003656/0.495, allocations: 2.259 MB / 1.35 GB, free: 9.508 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4951, allocations: 8.031 kB / 1.35 GB, free: 9.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.4954, allocations: 207.6 kB / 1.35 GB, free: 9.297 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.4984, allocations: 1.618 MB / 1.352 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.4984, allocations: 28.98 kB / 1.352 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.4985, allocations: 40 kB / 1.352 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.4993, allocations: 476 kB / 1.352 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4993, allocations: 0 / 1.352 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.4993, allocations: 11.98 kB / 1.352 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.4994, allocations: 24.98 kB / 1.352 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.5001, allocations: 419.7 kB / 1.353 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.5034, allocations: 1.676 MB / 1.354 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.5045, allocations: 497.1 kB / 1.355 GB, free: 4.414 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.5048, allocations: 194.8 kB / 1.355 GB, free: 4.223 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.5048, allocations: 4.281 kB / 1.355 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.5048, allocations: 34.84 kB / 1.355 GB, free: 4.176 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.5048, allocations: 0 / 1.355 GB, free: 4.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.00118/0.506, allocations: 0.6464 MB / 1.356 GB, free: 3.523 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.5061, allocations: 55.41 kB / 1.356 GB, free: 3.457 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/0.5096, allocations: 2.462 MB / 1.358 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.5096, allocations: 33.7 kB / 1.358 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008468/0.5105, allocations: 0.764 MB / 1.359 GB, free: 156 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.5106, allocations: 122.9 kB / 1.359 GB, free: 32 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.5108, allocations: 73.59 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.5109, allocations: 318 kB / 1.359 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.5112, allocations: 135.8 kB / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.5115, allocations: 207.1 kB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.512, allocations: 325.1 kB / 1.36 GB, free: 14.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.512, allocations: 0 / 1.36 GB, free: 14.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008914/0.5129, allocations: 0.5275 MB / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5129, allocations: 8 kB / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5129, allocations: 0 / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.5129, allocations: 0 / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.5133, allocations: 79.89 kB / 1.361 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5133, allocations: 0 / 1.361 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.5137, allocations: 27.83 kB / 1.361 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.5137, allocations: 8 kB / 1.361 GB, free: 14.31 MB / 1.061 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.0009234/0.5146, allocations: 0.6891 MB / 1.361 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.5149, allocations: 194.7 kB / 1.361 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.5152, allocations: 218.6 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5152, allocations: 4 kB / 1.362 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5152, allocations: 0 / 1.362 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5152, allocations: 0 / 1.362 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.5174, allocations: 1.389 MB / 1.363 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5174, allocations: 4 kB / 1.363 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.5177, allocations: 75.89 kB / 1.363 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5177, allocations: 4 kB / 1.363 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5177, allocations: 4 kB / 1.363 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5177, allocations: 8.094 kB / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5177, allocations: 0 / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.5185, allocations: 0.6471 MB / 1.364 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.5191, allocations: 298.5 kB / 1.364 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.5192, allocations: 4 kB / 1.364 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.5196, allocations: 11.98 kB / 1.364 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.5196, allocations: 23.91 kB / 1.364 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.5197, allocations: 12 kB / 1.364 GB, free: 10.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002628/0.5223, allocations: 1.767 MB / 1.366 GB, free: 8.863 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5223, allocations: 0 / 1.366 GB, free: 8.863 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007244/0.523, allocations: 235.7 kB / 1.366 GB, free: 8.633 MB / 1.061 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.0004836/0.5235, allocations: 169.6 kB / 1.366 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006036/0.5241, allocations: 324.8 kB / 1.367 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5241, allocations: 0 / 1.367 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.5243, allocations: 163.8 kB / 1.367 GB, free: 7.984 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.5264, allocations: 0.5911 MB / 1.367 GB, free: 7.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.532, allocations: 3.181 MB / 1.37 GB, free: 4.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.5332, allocations: 1.039 MB / 1.371 GB, free: 3.098 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5334, allocations: 79.44 kB / 1.371 GB, free: 3.02 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/0.5334, allocations: 7.875 kB / 1.371 GB, free: 3.012 MB / 1.061 GB Notification: Performance of Templates: time 0.0486/0.582, allocations: 24.89 MB / 1.396 GB, free: 10.25 MB / 1.092 GB " [Timeout remaining time 299] 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/jenkins1/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: 18.498740032082424]