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.001837/0.001837, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.002274/0.002274, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.906/2.906, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) [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.001915/0.001915, allocations: 67.89 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9181, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007873/0.926, allocations: 7.39 MB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007299/0.9333, allocations: 5.254 MB / 1.353 GB, free: 7.184 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.9348, allocations: 68.75 kB / 1.353 GB, free: 7.152 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004687/0.9395, allocations: 1.7 MB / 1.354 GB, free: 6.355 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.9418, allocations: 0.6091 MB / 1.355 GB, free: 5.945 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009942/0.9428, allocations: 224.6 kB / 1.355 GB, free: 5.836 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002543/0.9454, allocations: 1.764 MB / 1.357 GB, free: 5.016 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006621/0.946, allocations: 415.7 kB / 1.357 GB, free: 4.859 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.9472, allocations: 0.7236 MB / 1.358 GB, free: 4.547 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.9484, allocations: 0.8353 MB / 1.359 GB, free: 4.152 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.9486, allocations: 80.56 kB / 1.359 GB, free: 4.152 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006048/0.9492, allocations: 201.5 kB / 1.359 GB, free: 4.117 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.9495, allocations: 330.7 kB / 1.359 GB, free: 3.945 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007872/0.9503, allocations: 0.7954 MB / 1.36 GB, free: 3.426 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.9535, allocations: 2.459 MB / 1.363 GB, free: 2.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9535, allocations: 0 / 1.363 GB, free: 2.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9536, allocations: 0.9375 kB / 1.363 GB, free: 2.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.162e-05/0.9536, allocations: 0 / 1.363 GB, free: 2.48 MB / 1.061 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.003814/0.9574, allocations: 2.326 MB / 1.365 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.9575, allocations: 9.75 kB / 1.365 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.755e-05/0.9575, allocations: 10.34 kB / 1.365 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/0.9576, allocations: 73.92 kB / 1.365 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.9579, allocations: 212.2 kB / 1.365 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/0.9608, allocations: 1.695 MB / 1.367 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.9609, allocations: 25.22 kB / 1.367 GB, free: 15.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.9609, allocations: 35.81 kB / 1.367 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.9618, allocations: 453.4 kB / 1.367 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.9618, allocations: 0 / 1.367 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.9618, allocations: 11.91 kB / 1.367 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.9619, allocations: 24.28 kB / 1.367 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.9625, allocations: 429.8 kB / 1.368 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.9664, allocations: 2.304 MB / 1.37 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.9674, allocations: 497.4 kB / 1.37 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.9677, allocations: 189.2 kB / 1.371 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.9678, allocations: 3.938 kB / 1.371 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.9678, allocations: 38.73 kB / 1.371 GB, free: 13.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.9678, allocations: 0 / 1.371 GB, free: 13.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.001205/0.969, allocations: 0.6546 MB / 1.371 GB, free: 13.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.9691, allocations: 56.12 kB / 1.371 GB, free: 13.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.973, allocations: 2.556 MB / 1.374 GB, free: 12.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.9731, allocations: 31.11 kB / 1.374 GB, free: 12.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008915/0.974, allocations: 0.7658 MB / 1.375 GB, free: 12.15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.9741, allocations: 122.2 kB / 1.375 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.9743, allocations: 69.83 kB / 1.375 GB, free: 12.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.9744, allocations: 325.4 kB / 1.375 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.9747, allocations: 135.5 kB / 1.375 GB, free: 11.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.975, allocations: 185.2 kB / 1.375 GB, free: 11.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.9756, allocations: 320.8 kB / 1.376 GB, free: 11.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9756, allocations: 0 / 1.376 GB, free: 11.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001073/0.9767, allocations: 0.5352 MB / 1.376 GB, free: 11.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.9767, allocations: 5.625 kB / 1.376 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.9767, allocations: 0 / 1.376 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.9767, allocations: 2.953 kB / 1.376 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.9771, allocations: 79.5 kB / 1.376 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.9771, allocations: 2.219 kB / 1.376 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.9777, allocations: 36.66 kB / 1.376 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.9777, allocations: 9.219 kB / 1.376 GB, free: 11.21 MB / 1.076 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.001046/0.9788, allocations: 0.6882 MB / 1.377 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.979, allocations: 196.2 kB / 1.377 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.9794, allocations: 217.9 kB / 1.377 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.9794, allocations: 3.875 kB / 1.377 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.9794, allocations: 0 / 1.377 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.9794, allocations: 6.234 kB / 1.377 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.9822, allocations: 1.567 MB / 1.379 GB, free: 9.961 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9822, allocations: 1.891 kB / 1.379 GB, free: 9.961 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.9825, allocations: 77.77 kB / 1.379 GB, free: 9.953 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.9825, allocations: 3.094 kB / 1.379 GB, free: 9.953 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.9825, allocations: 6.5 kB / 1.379 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.9825, allocations: 6.531 kB / 1.379 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9825, allocations: 1.562 kB / 1.379 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.9834, allocations: 0.6538 MB / 1.38 GB, free: 9.566 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000666/0.9841, allocations: 389.4 kB / 1.38 GB, free: 9.305 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.9843, allocations: 6.891 kB / 1.38 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.9847, allocations: 12.59 kB / 1.38 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.9847, allocations: 25.12 kB / 1.38 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.9848, allocations: 10.75 kB / 1.38 GB, free: 9.281 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003038/0.9878, allocations: 1.829 MB / 1.382 GB, free: 8.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9878, allocations: 0 / 1.382 GB, free: 8.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000989/0.9888, allocations: 232 kB / 1.382 GB, free: 8.633 MB / 1.076 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.00158/0.9904, allocations: 1.272 MB / 1.383 GB, free: 7.707 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006428/0.991, allocations: 322.7 kB / 1.384 GB, free: 7.621 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.991, allocations: 0 / 1.384 GB, free: 7.621 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.9913, allocations: 170 kB / 1.384 GB, free: 7.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.9938, allocations: 0.6239 MB / 1.384 GB, free: 7.359 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/1.022, allocations: 14.88 MB / 1.399 GB, free: 1.723 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/1.023, allocations: 1.753 MB / 1.401 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001109/1.024, allocations: 311.8 kB / 1.401 GB, free: 440 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000792/1.025, allocations: 0.591 MB / 1.402 GB, free: 15.91 MB / 1.092 GB Notification: Performance of SimCode: time 9.12e-07/1.025, allocations: 0 / 1.402 GB, free: 15.91 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08206/1.107, allocations: 40 MB / 1.441 GB, free: 1.629 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.44, allocations: 14.58 kB / 1.441 GB, free: 1.617 MB / 1.107 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 840.0] 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: 19.180482868978288]