Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_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.001195/0.001195, 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.001218/0.001218, allocations: 196.5 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.189/1.189, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.501, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00441/0.5054, allocations: 4.438 MB / 0.954 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.6402, allocations: 150.6 MB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.641, allocations: 23.81 kB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.6416, allocations: 182.3 kB / 1.101 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.6432, allocations: 0.5122 MB / 1.102 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.645, allocations: 0.8466 MB / 1.103 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.6462, allocations: 1.335 MB / 1.104 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007714/0.647, allocations: 0.6376 MB / 1.105 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.6476, allocations: 490.3 kB / 1.105 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.6481, allocations: 0.5094 MB / 1.105 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.6483, allocations: 120 kB / 1.106 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000795/0.6491, allocations: 455.7 kB / 1.106 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.6494, allocations: 299 kB / 1.106 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005097/0.6499, allocations: 0.5595 MB / 1.107 GB, free: 296 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.6516, allocations: 1.597 MB / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6516, allocations: 0 / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6516, allocations: 0 / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.052e-05/0.6516, allocations: 0 / 1.108 GB, free: 14.69 MB / 0.8731 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.002428/0.6541, allocations: 1.446 MB / 1.11 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.6541, allocations: 8.031 kB / 1.11 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.6542, allocations: 143.6 kB / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.6554, allocations: 231.3 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009452/0.6564, allocations: 0.7536 MB / 1.111 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.6564, allocations: 66 kB / 1.111 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.6565, allocations: 80 kB / 1.111 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.6581, allocations: 0.9872 MB / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.6581, allocations: 0 / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.6582, allocations: 40 kB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.6582, allocations: 20 kB / 1.112 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.66, allocations: 1.163 MB / 1.113 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.6638, allocations: 2.82 MB / 1.116 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.6656, allocations: 0.9375 MB / 1.117 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.6661, allocations: 314.6 kB / 1.117 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/0.6662, allocations: 40.58 kB / 1.117 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008458/0.667, allocations: 0.4924 MB / 1.118 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 1.964e-06/0.667, allocations: 0 / 1.118 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.003005/0.6701, allocations: 1.224 MB / 1.119 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6702, allocations: 192.9 kB / 1.119 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.6709, allocations: 0.637 MB / 1.12 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.671, allocations: 41.7 kB / 1.12 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.6713, allocations: 416.3 kB / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.6715, allocations: 268 kB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.6717, allocations: 154.5 kB / 1.121 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6718, allocations: 386.8 kB / 1.121 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.6723, allocations: 253.9 kB / 1.121 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.6729, allocations: 385.1 kB / 1.122 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.674, allocations: 0.615 MB / 1.122 GB, free: 188 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.674, allocations: 0 / 1.122 GB, free: 188 kB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001756/0.6758, allocations: 0.8409 MB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6758, allocations: 8 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6758, allocations: 0 / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.6764, allocations: 80.84 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.677, allocations: 159.8 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.6789, allocations: 1.634 MB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.6795, allocations: 91.31 kB / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.6796, allocations: 31.98 kB / 1.125 GB, free: 13.18 MB / 0.8887 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.0003244/0.6799, allocations: 273.9 kB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.68, allocations: 86.95 kB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.6823, allocations: 1.085 MB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.6823, allocations: 8 kB / 1.126 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6823, allocations: 0 / 1.126 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.6824, allocations: 11.97 kB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.6855, allocations: 2.094 MB / 1.128 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6855, allocations: 0 / 1.128 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.6861, allocations: 159.8 kB / 1.129 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/0.6865, allocations: 68.73 kB / 1.129 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.6866, allocations: 31.91 kB / 1.129 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.6883, allocations: 1.658 MB / 1.13 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6883, allocations: 0 / 1.13 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.6902, allocations: 1.015 MB / 1.131 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.6905, allocations: 271.7 kB / 1.132 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.6906, allocations: 27.98 kB / 1.132 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.6912, allocations: 59.94 kB / 1.132 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.6914, allocations: 76.83 kB / 1.132 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.6915, allocations: 35.98 kB / 1.132 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005136/0.692, allocations: 463 kB / 1.132 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.692, allocations: 0 / 1.132 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007894/0.6928, allocations: 311.2 kB / 1.132 GB, free: 5.203 MB / 0.8887 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.00324/0.696, allocations: 2.07 MB / 1.134 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.6982, allocations: 1.03 MB / 1.135 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6982, allocations: 384 / 1.135 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.699, allocations: 0.5237 MB / 1.136 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.7002, allocations: 303.9 kB / 1.136 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.7113, allocations: 6.68 MB / 1.143 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/0.7121, allocations: 1.035 MB / 1.144 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001317/0.7134, allocations: 274.8 kB / 1.144 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007619/0.7142, allocations: 391.3 kB / 1.144 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/0.7142, allocations: 8 kB / 1.144 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05313/0.7674, allocations: 21.64 MB / 1.166 GB, free: 3.531 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.01, allocations: 11.78 kB / 1.166 GB, free: 3.52 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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