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.001868/0.001868, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002226/0.002226, allocations: 220.4 kB / 23 MB, free: 4.914 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.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 3.514/3.514, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002145/0.002145, allocations: 70.06 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4135, allocations: 181.9 MB / 1.365 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.01021/0.4237, allocations: 6.492 MB / 1.371 GB, free: 6.957 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008977/0.4327, allocations: 4.733 MB / 1.376 GB, free: 2.207 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.4343, allocations: 67.5 kB / 1.376 GB, free: 2.141 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005326/0.4396, allocations: 1.582 MB / 1.377 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.4419, allocations: 0.6166 MB / 1.378 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.443, allocations: 234.2 kB / 1.378 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003227/0.4462, allocations: 1.758 MB / 1.38 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/0.4469, allocations: 228 kB / 1.38 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.4485, allocations: 0.7504 MB / 1.381 GB, free: 12.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.45, allocations: 0.8123 MB / 1.382 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003964/0.4504, allocations: 88 kB / 1.382 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009089/0.4513, allocations: 211.7 kB / 1.382 GB, free: 11.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.4519, allocations: 334.4 kB / 1.382 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.4531, allocations: 0.5784 MB / 1.383 GB, free: 10.92 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003827/0.4569, allocations: 2.462 MB / 1.385 GB, free: 8.445 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4569, allocations: 4 kB / 1.385 GB, free: 8.441 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4569, allocations: 0 / 1.385 GB, free: 8.441 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.794e-05/0.457, allocations: 4 kB / 1.385 GB, free: 8.438 MB / 1.076 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.005055/0.4621, allocations: 2.251 MB / 1.387 GB, free: 6.137 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4621, allocations: 12.03 kB / 1.387 GB, free: 6.125 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004806/0.4626, allocations: 211.5 kB / 1.388 GB, free: 5.918 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/0.4665, allocations: 1.626 MB / 1.389 GB, free: 4.234 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.4666, allocations: 32.98 kB / 1.389 GB, free: 4.203 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.4666, allocations: 35.98 kB / 1.389 GB, free: 4.168 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.4675, allocations: 468 kB / 1.39 GB, free: 3.703 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4675, allocations: 0 / 1.39 GB, free: 3.703 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.4675, allocations: 20 kB / 1.39 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.4676, allocations: 20.98 kB / 1.39 GB, free: 3.664 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.4683, allocations: 423.7 kB / 1.39 GB, free: 3.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.4724, allocations: 1.664 MB / 1.392 GB, free: 1.543 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.4735, allocations: 0.4937 MB / 1.392 GB, free: 1.039 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.4738, allocations: 193.2 kB / 1.392 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4738, allocations: 4.281 kB / 1.392 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4739, allocations: 38.84 kB / 1.392 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.4739, allocations: 0 / 1.392 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.001201/0.4751, allocations: 0.6425 MB / 1.393 GB, free: 152 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.4751, allocations: 55.41 kB / 1.393 GB, free: 84 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00414/0.4792, allocations: 2.466 MB / 1.396 GB, free: 13.58 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.4793, allocations: 29.7 kB / 1.396 GB, free: 13.55 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008974/0.4802, allocations: 0.764 MB / 1.396 GB, free: 12.78 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.4803, allocations: 126.9 kB / 1.396 GB, free: 12.65 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.4805, allocations: 73.59 kB / 1.396 GB, free: 12.57 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4806, allocations: 318 kB / 1.397 GB, free: 12.26 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.4809, allocations: 135.9 kB / 1.397 GB, free: 12.12 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.4812, allocations: 203.1 kB / 1.397 GB, free: 11.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.4817, allocations: 321.7 kB / 1.397 GB, free: 11.6 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4817, allocations: 0 / 1.397 GB, free: 11.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009613/0.4827, allocations: 0.5352 MB / 1.398 GB, free: 11.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4827, allocations: 11.94 kB / 1.398 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4827, allocations: 0 / 1.398 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4827, allocations: 4.031 kB / 1.398 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.4831, allocations: 71.95 kB / 1.398 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.4831, allocations: 7.938 kB / 1.398 GB, free: 10.96 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.4836, allocations: 15.89 kB / 1.398 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.4836, allocations: 12 kB / 1.398 GB, free: 10.93 MB / 1.092 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.0009929/0.4846, allocations: 0.6887 MB / 1.399 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.4849, allocations: 190.7 kB / 1.399 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.4853, allocations: 210.6 kB / 1.399 GB, free: 9.84 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.4853, allocations: 4 kB / 1.399 GB, free: 9.836 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4853, allocations: 4 kB / 1.399 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4853, allocations: 4 kB / 1.399 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.4878, allocations: 1.381 MB / 1.4 GB, free: 8.395 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4878, allocations: 0 / 1.4 GB, free: 8.395 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.4881, allocations: 83.83 kB / 1.401 GB, free: 8.312 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/0.4881, allocations: 4 kB / 1.401 GB, free: 8.309 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4882, allocations: 4 kB / 1.401 GB, free: 8.305 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.4882, allocations: 8 kB / 1.401 GB, free: 8.297 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4882, allocations: 0 / 1.401 GB, free: 8.297 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.4891, allocations: 0.6483 MB / 1.401 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/0.4898, allocations: 298.5 kB / 1.401 GB, free: 7.328 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.49, allocations: 8 kB / 1.401 GB, free: 7.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.4905, allocations: 11.98 kB / 1.402 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.4906, allocations: 23.91 kB / 1.402 GB, free: 7.285 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.4906, allocations: 8 kB / 1.402 GB, free: 7.277 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003051/0.4936, allocations: 1.767 MB / 1.403 GB, free: 5.492 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4936, allocations: 0 / 1.403 GB, free: 5.492 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008726/0.4945, allocations: 243.6 kB / 1.403 GB, free: 5.254 MB / 1.092 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.0004813/0.495, allocations: 159.3 kB / 1.404 GB, free: 5.094 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006676/0.4956, allocations: 331.7 kB / 1.404 GB, free: 4.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.4957, allocations: 4 kB / 1.404 GB, free: 4.766 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.4959, allocations: 160.3 kB / 1.404 GB, free: 4.609 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.4985, allocations: 0.592 MB / 1.405 GB, free: 4.031 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.505, allocations: 3.181 MB / 1.408 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.5065, allocations: 1.047 MB / 1.409 GB, free: 15.71 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.5069, allocations: 79.44 kB / 1.409 GB, free: 15.63 MB / 1.107 GB Notification: Performance of SimCode: time 1.523e-06/0.5069, allocations: 0 / 1.409 GB, free: 15.63 MB / 1.107 GB Notification: Performance of Templates: time 0.04469/0.5516, allocations: 24.88 MB / 1.433 GB, free: 6.879 MB / 1.123 GB " [Timeout remaining time 299] 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/jenkins1/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: 16.903051663190126]