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.001835/0.001835, allocations: 109.2 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.002439/0.002439, allocations: 219.4 kB / 22.26 MB, free: 5.121 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.961 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.057/3.057, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_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.001969/0.001969, allocations: 68.95 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3255, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009838/0.3353, allocations: 7.413 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008452/0.3438, allocations: 5.262 MB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.3452, allocations: 67.5 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005055/0.3502, allocations: 1.726 MB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.3523, allocations: 0.6166 MB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3535, allocations: 235.1 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.3564, allocations: 1.765 MB / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006502/0.3571, allocations: 228 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.3583, allocations: 0.7231 MB / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.3598, allocations: 0.8434 MB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.3602, allocations: 80 kB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000773/0.3609, allocations: 219.8 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005123/0.3615, allocations: 338.4 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.3627, allocations: 0.7882 MB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.3662, allocations: 2.459 MB / 1.348 GB, free: 10.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3662, allocations: 0 / 1.348 GB, free: 10.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3662, allocations: 0 / 1.348 GB, free: 10.99 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.881e-05/0.3663, allocations: 0 / 1.348 GB, free: 10.99 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.004274/0.3706, allocations: 2.267 MB / 1.35 GB, free: 8.676 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3706, allocations: 8.031 kB / 1.35 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.3708, allocations: 78.66 kB / 1.35 GB, free: 8.582 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.3711, allocations: 211.6 kB / 1.351 GB, free: 8.375 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/0.3745, allocations: 1.607 MB / 1.352 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.3745, allocations: 33 kB / 1.352 GB, free: 6.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.3746, allocations: 35.98 kB / 1.352 GB, free: 6.645 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.3754, allocations: 442.3 kB / 1.353 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3754, allocations: 4 kB / 1.353 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.3754, allocations: 16 kB / 1.353 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.3755, allocations: 20.98 kB / 1.353 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006814/0.3762, allocations: 431.6 kB / 1.353 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.3801, allocations: 2.273 MB / 1.355 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009966/0.3811, allocations: 492 kB / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.3814, allocations: 193.3 kB / 1.356 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.3814, allocations: 4.281 kB / 1.356 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3815, allocations: 38.84 kB / 1.356 GB, free: 2.594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.3815, allocations: 0 / 1.356 GB, free: 2.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001167/0.3826, allocations: 0.658 MB / 1.357 GB, free: 1.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3827, allocations: 51.41 kB / 1.357 GB, free: 1.867 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.3869, allocations: 2.559 MB / 1.359 GB, free: 15.28 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.3869, allocations: 29.7 kB / 1.359 GB, free: 15.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008677/0.3878, allocations: 0.7684 MB / 1.36 GB, free: 14.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3879, allocations: 122.9 kB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.388, allocations: 73.66 kB / 1.36 GB, free: 14.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3882, allocations: 322.5 kB / 1.361 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.3884, allocations: 131.9 kB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3887, allocations: 181.4 kB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.3892, allocations: 321.1 kB / 1.361 GB, free: 13.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3892, allocations: 0 / 1.361 GB, free: 13.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009147/0.3901, allocations: 0.5352 MB / 1.362 GB, free: 12.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3901, allocations: 8 kB / 1.362 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3901, allocations: 4.031 kB / 1.362 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3901, allocations: 0 / 1.362 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.3905, allocations: 75.89 kB / 1.362 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3905, allocations: 7.938 kB / 1.362 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.3909, allocations: 35.73 kB / 1.362 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.391, allocations: 4 kB / 1.362 GB, free: 12.64 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.0009134/0.3919, allocations: 0.6969 MB / 1.363 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.3922, allocations: 190.7 kB / 1.363 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.3926, allocations: 215.2 kB / 1.363 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3926, allocations: 4 kB / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3926, allocations: 4 kB / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3926, allocations: 0 / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.3951, allocations: 1.553 MB / 1.364 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3951, allocations: 0 / 1.364 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.3954, allocations: 72.05 kB / 1.364 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3954, allocations: 11.94 kB / 1.365 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3954, allocations: 4 kB / 1.365 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3954, allocations: 4 kB / 1.365 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3954, allocations: 3.938 kB / 1.365 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008513/0.3963, allocations: 0.6437 MB / 1.365 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007265/0.397, allocations: 310.5 kB / 1.365 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.3972, allocations: 8 kB / 1.365 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.3977, allocations: 8 kB / 1.365 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.3977, allocations: 31.83 kB / 1.365 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3977, allocations: 8 kB / 1.365 GB, free: 8.785 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002953/0.4007, allocations: 1.831 MB / 1.367 GB, free: 6.938 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4007, allocations: 4 kB / 1.367 GB, free: 6.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007541/0.4014, allocations: 227.7 kB / 1.368 GB, free: 6.711 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.001562/0.403, allocations: 1.277 MB / 1.369 GB, free: 5.402 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005926/0.4036, allocations: 319.5 kB / 1.369 GB, free: 5.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4036, allocations: 0 / 1.369 GB, free: 5.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.4038, allocations: 163.8 kB / 1.369 GB, free: 4.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.4062, allocations: 0.6287 MB / 1.37 GB, free: 4.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/0.4304, allocations: 14.88 MB / 1.384 GB, free: 5.211 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.4324, allocations: 1.754 MB / 1.386 GB, free: 3.418 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008989/0.4333, allocations: 319.2 kB / 1.386 GB, free: 3.102 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/0.4342, allocations: 0.5891 MB / 1.387 GB, free: 2.512 MB / 1.076 GB Notification: Performance of SimCode: time 1.222e-06/0.4342, allocations: 8 kB / 1.387 GB, free: 2.504 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0884/0.5226, allocations: 40.22 MB / 1.426 GB, free: 10.81 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.28, allocations: 6.562 kB / 1.426 GB, free: 10.81 MB / 1.123 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] 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: 20.892149080056697]