Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 198.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 62.69 kB / 0.9086 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2586, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007123/0.2657, allocations: 4.926 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.4382, allocations: 150.7 MB / 1.216 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006313/0.4388, allocations: 19.88 kB / 1.216 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.4394, allocations: 194.2 kB / 1.216 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.4409, allocations: 0.5512 MB / 1.217 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.4427, allocations: 0.8515 MB / 1.218 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.4441, allocations: 1.409 MB / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008774/0.445, allocations: 0.5988 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.4456, allocations: 0.4944 MB / 1.22 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006274/0.4463, allocations: 0.5095 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.4464, allocations: 120 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.4472, allocations: 467.6 kB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.4475, allocations: 299 kB / 1.221 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.4481, allocations: 0.5752 MB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.4498, allocations: 1.612 MB / 1.223 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4498, allocations: 4 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4498, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.4498, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 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.002621/0.4524, allocations: 1.467 MB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.4525, allocations: 12.03 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.4527, allocations: 135.7 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.454, allocations: 231.3 kB / 1.225 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.4551, allocations: 0.7498 MB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.4552, allocations: 65.98 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4553, allocations: 84 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.4571, allocations: 0.9833 MB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.4571, allocations: 4 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/0.4572, allocations: 36 kB / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.4572, allocations: 20 kB / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.4594, allocations: 1.167 MB / 1.228 GB, free: 5.195 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.464, allocations: 3.041 MB / 1.231 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.466, allocations: 0.946 MB / 1.232 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.4666, allocations: 314.7 kB / 1.233 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.449e-05/0.4667, allocations: 36.61 kB / 1.233 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009475/0.4676, allocations: 0.4963 MB / 1.233 GB, free: 196 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 1.964e-06/0.4676, allocations: 0 / 1.233 GB, free: 196 kB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003397/0.471, allocations: 1.235 MB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4711, allocations: 188.9 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008075/0.472, allocations: 0.6332 MB / 1.235 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.472, allocations: 45.7 kB / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.4724, allocations: 416.1 kB / 1.235 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.4726, allocations: 264.2 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.4729, allocations: 154.5 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4731, allocations: 386.8 kB / 1.236 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.4736, allocations: 249.9 kB / 1.236 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.4743, allocations: 389.1 kB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.4756, allocations: 0.6228 MB / 1.237 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4756, allocations: 0 / 1.237 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002026/0.4776, allocations: 0.8407 MB / 1.238 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4776, allocations: 12.19 kB / 1.238 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4777, allocations: 0 / 1.238 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.4783, allocations: 88.75 kB / 1.238 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.479, allocations: 155.8 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.4812, allocations: 1.636 MB / 1.24 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.4819, allocations: 91.34 kB / 1.24 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.482, allocations: 35.98 kB / 1.24 GB, free: 8.48 MB / 0.9981 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.0003774/0.4824, allocations: 274.3 kB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.4825, allocations: 87.02 kB / 1.241 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.4851, allocations: 1.097 MB / 1.242 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4852, allocations: 12 kB / 1.242 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4852, allocations: 0 / 1.242 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4852, allocations: 3.984 kB / 1.242 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.4889, allocations: 2.098 MB / 1.244 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4889, allocations: 0 / 1.244 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.4896, allocations: 155.8 kB / 1.244 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/0.49, allocations: 68.78 kB / 1.244 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.4901, allocations: 27.98 kB / 1.244 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.4922, allocations: 1.666 MB / 1.246 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.4922, allocations: 8.094 kB / 1.246 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.4943, allocations: 1.011 MB / 1.247 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.4947, allocations: 279.7 kB / 1.247 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.4948, allocations: 16 kB / 1.247 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.4955, allocations: 59.94 kB / 1.247 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.4957, allocations: 84.83 kB / 1.247 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.557e-05/0.4958, allocations: 35.97 kB / 1.247 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005892/0.4964, allocations: 459 kB / 1.247 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4964, allocations: 4 kB / 1.247 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008033/0.4972, allocations: 327.1 kB / 1.248 GB, free: 480 kB / 0.9981 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.4123/0.9095, allocations: 2.044 MB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.9121, allocations: 1.035 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9121, allocations: 0 / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009629/0.9131, allocations: 0.5274 MB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.9145, allocations: 318.2 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009334/0.9238, allocations: 6.58 MB / 1.258 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.9242, allocations: 1.03 MB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008396/0.9251, allocations: 270 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.9255, allocations: 389.4 kB / 1.26 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.9256, allocations: 3.938 kB / 1.26 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.979, allocations: 22.07 MB / 1.281 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.64, allocations: 14.67 kB / 1.281 GB, free: 176 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,TBlaSky.TBlaSky,TBlaSkyIrr.TBlaSky Variables in the result:time,TBlaSky.TBlaSky,TBlaSkyIrr.TBlaSky,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor