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.001833/0.001833, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002376/0.002376, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.965 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.135/3.135, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",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.00218/0.00218, allocations: 67.56 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3395, allocations: 180.2 MB / 1.353 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009665/0.3492, allocations: 7.408 MB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008361/0.3576, allocations: 5.258 MB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.359, allocations: 79.38 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005041/0.364, allocations: 1.722 MB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.3661, allocations: 0.6166 MB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3672, allocations: 241.9 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.3701, allocations: 1.767 MB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006495/0.3708, allocations: 228 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.3722, allocations: 0.7504 MB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.3735, allocations: 0.8201 MB / 1.371 GB, free: 5.371 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.3738, allocations: 80 kB / 1.371 GB, free: 5.293 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.3746, allocations: 211.8 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.375, allocations: 342.4 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009484/0.376, allocations: 0.7882 MB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.3788, allocations: 2.462 MB / 1.375 GB, free: 1.484 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.517e-06/0.3788, allocations: 4 kB / 1.375 GB, free: 1.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3788, allocations: 0 / 1.375 GB, free: 1.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.174e-05/0.3789, allocations: 0 / 1.375 GB, free: 1.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.00343/0.3823, allocations: 2.259 MB / 1.377 GB, free: 15.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3823, allocations: 8.031 kB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.873e-05/0.3824, allocations: 78.72 kB / 1.377 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.3827, allocations: 211.5 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.3855, allocations: 1.618 MB / 1.379 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3855, allocations: 28.94 kB / 1.379 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.3856, allocations: 39.98 kB / 1.379 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.3863, allocations: 446.3 kB / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3863, allocations: 0 / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.3863, allocations: 12 kB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.3864, allocations: 24.98 kB / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.387, allocations: 427.7 kB / 1.38 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/0.3904, allocations: 2.269 MB / 1.382 GB, free: 9.812 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009766/0.3913, allocations: 493.3 kB / 1.383 GB, free: 9.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.3916, allocations: 193.2 kB / 1.383 GB, free: 9.129 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3916, allocations: 8.266 kB / 1.383 GB, free: 9.121 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3917, allocations: 34.84 kB / 1.383 GB, free: 9.078 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 2.745e-06/0.3917, allocations: 3.938 kB / 1.383 GB, free: 9.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.001043/0.3927, allocations: 0.6503 MB / 1.384 GB, free: 8.418 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3928, allocations: 59.41 kB / 1.384 GB, free: 8.348 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.3962, allocations: 2.556 MB / 1.386 GB, free: 5.762 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.3962, allocations: 29.7 kB / 1.386 GB, free: 5.727 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007666/0.397, allocations: 0.7646 MB / 1.387 GB, free: 4.957 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.3971, allocations: 122.9 kB / 1.387 GB, free: 4.836 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3972, allocations: 69.66 kB / 1.387 GB, free: 4.762 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3974, allocations: 330.4 kB / 1.388 GB, free: 4.434 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.3976, allocations: 131.9 kB / 1.388 GB, free: 4.305 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.3978, allocations: 181.4 kB / 1.388 GB, free: 4.121 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.3983, allocations: 321.7 kB / 1.388 GB, free: 3.805 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3983, allocations: 4 kB / 1.388 GB, free: 3.801 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008348/0.3991, allocations: 0.5313 MB / 1.389 GB, free: 3.262 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3992, allocations: 9.562 kB / 1.389 GB, free: 3.254 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3992, allocations: 0 / 1.389 GB, free: 3.254 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3992, allocations: 0 / 1.389 GB, free: 3.254 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.3995, allocations: 79.89 kB / 1.389 GB, free: 3.176 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.3995, allocations: 8.031 kB / 1.389 GB, free: 3.168 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.3999, allocations: 31.73 kB / 1.389 GB, free: 3.137 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3999, allocations: 8 kB / 1.389 GB, free: 3.129 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.0008303/0.4008, allocations: 0.6886 MB / 1.389 GB, free: 2.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.401, allocations: 202.7 kB / 1.39 GB, free: 2.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.4013, allocations: 215.2 kB / 1.39 GB, free: 2.016 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4013, allocations: 7.938 kB / 1.39 GB, free: 2.008 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4013, allocations: 0 / 1.39 GB, free: 2.008 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4013, allocations: 0 / 1.39 GB, free: 2.008 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.4035, allocations: 1.553 MB / 1.391 GB, free: 400 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4035, allocations: 0 / 1.391 GB, free: 400 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.4038, allocations: 79.89 kB / 1.391 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4038, allocations: 0 / 1.391 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.4038, allocations: 8 kB / 1.391 GB, free: 312 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4038, allocations: 4 kB / 1.391 GB, free: 308 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4038, allocations: 8.031 kB / 1.391 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.4046, allocations: 0.6436 MB / 1.392 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.4053, allocations: 306.6 kB / 1.392 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.4054, allocations: 4 kB / 1.392 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.4058, allocations: 8 kB / 1.392 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.4058, allocations: 27.89 kB / 1.392 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.4058, allocations: 12 kB / 1.392 GB, free: 15.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002544/0.4084, allocations: 1.827 MB / 1.394 GB, free: 13.43 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4084, allocations: 0 / 1.394 GB, free: 13.43 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000659/0.409, allocations: 239.7 kB / 1.394 GB, free: 13.19 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.001417/0.4104, allocations: 1.266 MB / 1.396 GB, free: 11.89 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.411, allocations: 319.5 kB / 1.396 GB, free: 11.58 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.411, allocations: 0 / 1.396 GB, free: 11.58 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.4112, allocations: 168.6 kB / 1.396 GB, free: 11.41 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.4133, allocations: 0.6243 MB / 1.397 GB, free: 10.8 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/0.4351, allocations: 14.89 MB / 1.411 GB, free: 11.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.437, allocations: 1.754 MB / 1.413 GB, free: 9.895 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009012/0.4379, allocations: 315.2 kB / 1.413 GB, free: 9.582 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008474/0.4387, allocations: 0.5891 MB / 1.414 GB, free: 8.992 MB / 1.107 GB Notification: Performance of SimCode: time 8.62e-07/0.4387, allocations: 0 / 1.414 GB, free: 8.992 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08517/0.5239, allocations: 40.21 MB / 1.453 GB, free: 1.238 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.12, allocations: 7.938 kB / 1.453 GB, free: 1.23 MB / 1.139 GB " [Timeout remaining time 286] (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: 20.803813986945897]