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.001764/0.001764, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002234/0.002234, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 8 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.029/3.029, allocations: 0.5003 GB / 0.8062 GB, free: 26.72 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="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.001942/0.001942, allocations: 67.75 kB / 1.171 GB, free: 19.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3556, allocations: 179 MB / 1.345 GB, free: 328 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009883/0.3655, allocations: 7.418 MB / 1.353 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008703/0.3742, allocations: 5.262 MB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.3758, allocations: 75.44 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005194/0.381, allocations: 1.722 MB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.3833, allocations: 0.6127 MB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.3846, allocations: 237.9 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.388, allocations: 1.765 MB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/0.3887, allocations: 228 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.3901, allocations: 0.7232 MB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.3917, allocations: 0.8396 MB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.3921, allocations: 80 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.393, allocations: 215.8 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.3936, allocations: 338.4 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.3949, allocations: 0.7883 MB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.3987, allocations: 2.466 MB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3987, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3987, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.578e-05/0.3988, allocations: 0 / 1.368 GB, free: 9.441 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.004442/0.4032, allocations: 2.257 MB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4032, allocations: 12.03 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.563e-05/0.4033, allocations: 9.188 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.4034, allocations: 82.7 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.4038, allocations: 215.5 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/0.4072, allocations: 1.599 MB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.009e-05/0.4072, allocations: 32.98 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/0.4073, allocations: 39.94 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.4081, allocations: 442.3 kB / 1.372 GB, free: 4.648 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4081, allocations: 3.938 kB / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.4081, allocations: 23.98 kB / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.4082, allocations: 20.98 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.4089, allocations: 431.6 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.4129, allocations: 2.273 MB / 1.375 GB, free: 1.758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.414, allocations: 484.1 kB / 1.375 GB, free: 1.273 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.4143, allocations: 189.3 kB / 1.376 GB, free: 1.086 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.4143, allocations: 4.281 kB / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.4143, allocations: 42.78 kB / 1.376 GB, free: 1.031 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 3.246e-06/0.4143, allocations: 0 / 1.376 GB, free: 1.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.001202/0.4155, allocations: 0.6503 MB / 1.376 GB, free: 384 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4156, allocations: 55.41 kB / 1.376 GB, free: 316 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.4198, allocations: 2.556 MB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.4199, allocations: 33.7 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008494/0.4207, allocations: 0.7685 MB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.4209, allocations: 119 kB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.421, allocations: 73.64 kB / 1.38 GB, free: 12.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4211, allocations: 326.5 kB / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.4214, allocations: 131.9 kB / 1.38 GB, free: 12.26 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.4216, allocations: 181.4 kB / 1.38 GB, free: 12.08 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.4221, allocations: 326.3 kB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.4221, allocations: 4 kB / 1.381 GB, free: 11.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009739/0.4231, allocations: 0.5351 MB / 1.381 GB, free: 11.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4231, allocations: 8 kB / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.4231, allocations: 0 / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4232, allocations: 4.031 kB / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.4235, allocations: 79.89 kB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4235, allocations: 4 kB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.4241, allocations: 31.67 kB / 1.381 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.4241, allocations: 8 kB / 1.381 GB, free: 11.08 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.0009754/0.4251, allocations: 0.6886 MB / 1.382 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.4255, allocations: 198.7 kB / 1.382 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.4259, allocations: 211.2 kB / 1.382 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4259, allocations: 8 kB / 1.382 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.4259, allocations: 3.984 kB / 1.382 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.426, allocations: 3.984 kB / 1.382 GB, free: 9.961 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.4285, allocations: 1.549 MB / 1.384 GB, free: 8.348 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4285, allocations: 0 / 1.384 GB, free: 8.348 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.4288, allocations: 75.89 kB / 1.384 GB, free: 8.273 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4288, allocations: 96 / 1.384 GB, free: 8.273 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.4289, allocations: 19.94 kB / 1.384 GB, free: 8.254 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.4289, allocations: 7.938 kB / 1.384 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4289, allocations: 3.984 kB / 1.384 GB, free: 8.242 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/0.4298, allocations: 0.6436 MB / 1.385 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.4305, allocations: 306.6 kB / 1.385 GB, free: 7.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.4307, allocations: 7.984 kB / 1.385 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.4312, allocations: 11.94 kB / 1.385 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.4312, allocations: 19.97 kB / 1.385 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.4313, allocations: 15.98 kB / 1.385 GB, free: 7.215 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003038/0.4343, allocations: 1.823 MB / 1.387 GB, free: 5.375 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4343, allocations: 0 / 1.387 GB, free: 5.375 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008316/0.4351, allocations: 235.7 kB / 1.387 GB, free: 5.145 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.00159/0.4367, allocations: 1.265 MB / 1.388 GB, free: 3.848 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005885/0.4373, allocations: 319.7 kB / 1.388 GB, free: 3.535 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4373, allocations: 0 / 1.388 GB, free: 3.535 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.4376, allocations: 160.6 kB / 1.389 GB, free: 3.379 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.4402, allocations: 0.6261 MB / 1.389 GB, free: 2.762 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/0.4666, allocations: 14.89 MB / 1.404 GB, free: 3.648 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/0.4686, allocations: 1.754 MB / 1.406 GB, free: 1.859 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001001/0.4696, allocations: 311.3 kB / 1.406 GB, free: 1.551 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008963/0.4705, allocations: 0.593 MB / 1.406 GB, free: 0.957 MB / 1.092 GB Notification: Performance of SimCode: time 1.152e-06/0.4705, allocations: 0 / 1.406 GB, free: 0.957 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/0.5751, allocations: 40.25 MB / 1.446 GB, free: 9.191 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.28, allocations: 8 kB / 1.446 GB, free: 9.184 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: 21.12672791600926]