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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_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.0009965/0.0009965, allocations: 108 kB / 15.6 MB, free: 132 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.0009876/0.0009877, allocations: 195.6 kB / 16.53 MB, free: 6.391 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 66.17 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2433, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005733/0.2491, allocations: 4.934 MB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1357/0.3848, allocations: 150.6 MB / 1.216 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.3855, allocations: 23.88 kB / 1.216 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.3861, allocations: 194.2 kB / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.3874, allocations: 0.5603 MB / 1.216 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.389, allocations: 0.8408 MB / 1.217 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.3901, allocations: 1.409 MB / 1.219 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007313/0.3909, allocations: 0.6066 MB / 1.219 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.3914, allocations: 0.4905 MB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.3919, allocations: 0.5212 MB / 1.22 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.3921, allocations: 120 kB / 1.22 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.3928, allocations: 455.6 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.3931, allocations: 299.1 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.3935, allocations: 0.5829 MB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3948, allocations: 1.608 MB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3948, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3948, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3949, allocations: 0 / 1.223 GB, free: 10.62 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.002154/0.397, allocations: 1.466 MB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3971, allocations: 12.03 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.3972, allocations: 139.7 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.3983, allocations: 235.3 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.3992, allocations: 0.7497 MB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.3993, allocations: 66 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3994, allocations: 87.98 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.4008, allocations: 0.9755 MB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4009, allocations: 0 / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.401, allocations: 40 kB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.401, allocations: 24 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.4028, allocations: 1.163 MB / 1.228 GB, free: 5.531 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.003608/0.4064, allocations: 3.041 MB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.4081, allocations: 0.9483 MB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.4086, allocations: 318.2 kB / 1.232 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.4087, allocations: 36.59 kB / 1.232 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007947/0.4095, allocations: 0.4964 MB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 1.954e-06/0.4095, allocations: 3.938 kB / 1.233 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.002916/0.4124, allocations: 1.227 MB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.4125, allocations: 196.9 kB / 1.234 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.4131, allocations: 0.6293 MB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.4132, allocations: 41.7 kB / 1.235 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.4135, allocations: 412.2 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.4136, allocations: 272.2 kB / 1.235 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.4138, allocations: 158.5 kB / 1.235 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.414, allocations: 386.8 kB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.4145, allocations: 253.9 kB / 1.236 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.415, allocations: 381.1 kB / 1.236 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.416, allocations: 0.6228 MB / 1.237 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4161, allocations: 0 / 1.237 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001723/0.4178, allocations: 0.8447 MB / 1.238 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4178, allocations: 7.938 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4178, allocations: 4 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.4184, allocations: 76.97 kB / 1.238 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.419, allocations: 171.7 kB / 1.238 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.4208, allocations: 1.631 MB / 1.24 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.4214, allocations: 91.31 kB / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.4215, allocations: 27.98 kB / 1.24 GB, free: 8.816 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.0003187/0.4218, allocations: 285.5 kB / 1.24 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.4219, allocations: 82.97 kB / 1.24 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.4241, allocations: 1.089 MB / 1.241 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4241, allocations: 8 kB / 1.241 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4241, allocations: 3.984 kB / 1.241 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4242, allocations: 8.016 kB / 1.241 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.4273, allocations: 2.102 MB / 1.243 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.4273, allocations: 3.984 kB / 1.243 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.4279, allocations: 147.8 kB / 1.243 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.4283, allocations: 68.8 kB / 1.244 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.4283, allocations: 27.97 kB / 1.244 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.43, allocations: 1.662 MB / 1.245 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4301, allocations: 0 / 1.245 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.4319, allocations: 1.019 MB / 1.246 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.4323, allocations: 271.7 kB / 1.246 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.4324, allocations: 24 kB / 1.246 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.4331, allocations: 61.77 kB / 1.247 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.4332, allocations: 72.83 kB / 1.247 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.4333, allocations: 35.98 kB / 1.247 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005472/0.4338, allocations: 467 kB / 1.247 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4338, allocations: 0 / 1.247 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008467/0.4347, allocations: 331.2 kB / 1.247 GB, free: 0.8086 MB / 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.3814/0.8161, allocations: 2.04 MB / 1.249 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002285/0.8184, allocations: 1.04 MB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.8184, allocations: 0 / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.8193, allocations: 0.5271 MB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.8206, allocations: 328.9 kB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008807/0.8295, allocations: 6.575 MB / 1.258 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.8299, allocations: 1.038 MB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008354/0.8307, allocations: 264.2 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.8312, allocations: 400.6 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.8312, allocations: 0 / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05043/0.8816, allocations: 22.06 MB / 1.281 GB, free: 176 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.26, allocations: 21.67 kB / 1.281 GB, free: 176 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/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) "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