Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.001683/0.001683, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002143/0.002143, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.141/3.141, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.001902/0.001902, allocations: 62.34 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3331, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006814/0.34, allocations: 4.484 MB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.5032, allocations: 132.6 MB / 1.479 GB, free: 6.297 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008398/0.5041, allocations: 23.81 kB / 1.479 GB, free: 6.273 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.5048, allocations: 210.1 kB / 1.479 GB, free: 6.066 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.5068, allocations: 0.5658 MB / 1.48 GB, free: 5.5 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.509, allocations: 0.8846 MB / 1.481 GB, free: 4.621 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.511, allocations: 1.447 MB / 1.482 GB, free: 3.168 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009119/0.5119, allocations: 434.1 kB / 1.483 GB, free: 2.723 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000882/0.5128, allocations: 0.5256 MB / 1.483 GB, free: 2.195 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008074/0.5136, allocations: 0.5212 MB / 1.484 GB, free: 1.672 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.5138, allocations: 120 kB / 1.484 GB, free: 1.555 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.515, allocations: 0.4957 MB / 1.484 GB, free: 1.059 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.5154, allocations: 311 kB / 1.485 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.5161, allocations: 473.7 kB / 1.485 GB, free: 296 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.5188, allocations: 1.732 MB / 1.487 GB, free: 14.55 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5188, allocations: 0 / 1.487 GB, free: 14.55 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5188, allocations: 0 / 1.487 GB, free: 14.55 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.506e-05/0.5189, allocations: 0 / 1.487 GB, free: 14.55 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003089/0.522, allocations: 1.443 MB / 1.488 GB, free: 13.07 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.522, allocations: 12.03 kB / 1.488 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.348e-05/0.522, allocations: 22.19 kB / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.5222, allocations: 147.6 kB / 1.488 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.524, allocations: 283.9 kB / 1.489 GB, free: 12.61 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.5254, allocations: 0.7256 MB / 1.489 GB, free: 11.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.5255, allocations: 66 kB / 1.489 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5256, allocations: 84 kB / 1.489 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.5276, allocations: 1.246 MB / 1.491 GB, free: 10.35 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.5276, allocations: 0 / 1.491 GB, free: 10.35 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/0.5277, allocations: 40 kB / 1.491 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.5278, allocations: 20 kB / 1.491 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.5298, allocations: 1.159 MB / 1.492 GB, free: 9.129 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004906/0.5347, allocations: 2.533 MB / 1.494 GB, free: 6.52 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.5366, allocations: 0.8198 MB / 1.495 GB, free: 5.695 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.5371, allocations: 288.5 kB / 1.495 GB, free: 5.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/0.5372, allocations: 24.64 kB / 1.495 GB, free: 5.387 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.5382, allocations: 0.5983 MB / 1.496 GB, free: 4.75 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 5.05e-06/0.5382, allocations: 3.984 kB / 1.496 GB, free: 4.746 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.003388/0.5416, allocations: 1.16 MB / 1.497 GB, free: 3.574 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.5418, allocations: 200.8 kB / 1.497 GB, free: 3.336 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.5427, allocations: 0.6606 MB / 1.498 GB, free: 2.664 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.519e-05/0.5428, allocations: 41.69 kB / 1.498 GB, free: 2.617 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.5431, allocations: 425 kB / 1.498 GB, free: 2.195 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.5434, allocations: 281.6 kB / 1.499 GB, free: 1.918 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.5436, allocations: 150.6 kB / 1.499 GB, free: 1.766 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.5438, allocations: 398.6 kB / 1.499 GB, free: 1.367 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.5444, allocations: 253.9 kB / 1.499 GB, free: 1.117 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.5451, allocations: 0.5055 MB / 1.5 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.5463, allocations: 0.6112 MB / 1.5 GB, free: 15.91 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.5463, allocations: 7.938 kB / 1.5 GB, free: 15.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002057/0.5483, allocations: 0.8452 MB / 1.501 GB, free: 15.05 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5483, allocations: 8 kB / 1.501 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5483, allocations: 0 / 1.501 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/0.549, allocations: 88.89 kB / 1.501 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.5497, allocations: 163.7 kB / 1.502 GB, free: 14.79 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.5519, allocations: 1.511 MB / 1.503 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.5527, allocations: 94.03 kB / 1.503 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.5528, allocations: 35.98 kB / 1.503 GB, free: 13.04 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004684/0.5532, allocations: 273.8 kB / 1.503 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.5534, allocations: 91.44 kB / 1.504 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.5559, allocations: 1.093 MB / 1.505 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.5559, allocations: 8 kB / 1.505 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.5559, allocations: 0 / 1.505 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.556, allocations: 3.984 kB / 1.505 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.5596, allocations: 1.916 MB / 1.506 GB, free: 9.586 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5596, allocations: 0 / 1.506 GB, free: 9.586 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.5602, allocations: 151.8 kB / 1.507 GB, free: 9.438 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/0.5606, allocations: 72.8 kB / 1.507 GB, free: 9.363 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.5607, allocations: 27.97 kB / 1.507 GB, free: 9.336 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.5627, allocations: 1.543 MB / 1.508 GB, free: 7.664 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5627, allocations: 0 / 1.508 GB, free: 7.664 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.5648, allocations: 1.026 MB / 1.509 GB, free: 6.621 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.5653, allocations: 207 kB / 1.509 GB, free: 6.418 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5654, allocations: 28 kB / 1.509 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/0.5661, allocations: 71.92 kB / 1.51 GB, free: 6.32 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.5662, allocations: 80.73 kB / 1.51 GB, free: 6.238 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.5663, allocations: 31.98 kB / 1.51 GB, free: 6.207 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006444/0.567, allocations: 491 kB / 1.51 GB, free: 5.734 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.567, allocations: 0 / 1.51 GB, free: 5.734 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008786/0.5678, allocations: 327.2 kB / 1.51 GB, free: 5.414 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004337/0.5722, allocations: 2.102 MB / 1.512 GB, free: 3.496 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.5739, allocations: 0.7922 MB / 1.513 GB, free: 2.691 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5739, allocations: 3.938 kB / 1.513 GB, free: 2.688 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009951/0.5749, allocations: 0.5044 MB / 1.514 GB, free: 2.176 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.5763, allocations: 316.1 kB / 1.514 GB, free: 1.887 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5875, allocations: 6.433 MB / 1.52 GB, free: 11.29 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.5881, allocations: 449 kB / 1.521 GB, free: 10.82 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008684/0.5889, allocations: 271 kB / 1.521 GB, free: 10.55 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/0.5895, allocations: 403.3 kB / 1.521 GB, free: 10.16 MB / 1.217 GB Notification: Performance of SimCode: time 8.01e-07/0.5895, allocations: 0 / 1.521 GB, free: 10.16 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05931/0.6488, allocations: 24.15 MB / 1.545 GB, free: 2.336 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.16, allocations: 7.922 kB / 1.545 GB, free: 2.328 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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: 22.060026120045222]