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.005533/0.005533, allocations: 98.66 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.272/2.272, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 62.47 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005871/0.2577, allocations: 4.427 MB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1472/0.4049, allocations: 150.6 MB / 1.239 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000761/0.4057, allocations: 15.94 kB / 1.239 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.4065, allocations: 190.3 kB / 1.239 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.4082, allocations: 0.5077 MB / 1.24 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.4101, allocations: 0.8509 MB / 1.24 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.4114, allocations: 1.347 MB / 1.242 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008201/0.4122, allocations: 0.6453 MB / 1.242 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.4128, allocations: 494.2 kB / 1.243 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.4133, allocations: 0.5017 MB / 1.243 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.4135, allocations: 120 kB / 1.243 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007826/0.4143, allocations: 487.6 kB / 1.244 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.4145, allocations: 299 kB / 1.244 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.415, allocations: 0.5596 MB / 1.245 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.4167, allocations: 1.634 MB / 1.246 GB, free: 14.69 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4167, allocations: 0 / 1.246 GB, free: 14.69 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4167, allocations: 0 / 1.246 GB, free: 14.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.4167, allocations: 0 / 1.246 GB, free: 14.69 MB / 1.014 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.002448/0.4192, allocations: 1.491 MB / 1.248 GB, free: 13.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4192, allocations: 8.031 kB / 1.248 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.4194, allocations: 143.6 kB / 1.248 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.4206, allocations: 232 kB / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.4218, allocations: 0.7816 MB / 1.249 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.4218, allocations: 66 kB / 1.249 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.422, allocations: 84 kB / 1.249 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.4236, allocations: 0.9911 MB / 1.25 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4236, allocations: 0 / 1.25 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.503e-05/0.4237, allocations: 36 kB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.4238, allocations: 20 kB / 1.25 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.4257, allocations: 1.163 MB / 1.251 GB, free: 9.527 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.4297, allocations: 2.813 MB / 1.254 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.4315, allocations: 0.934 MB / 1.255 GB, free: 5.676 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.432, allocations: 314.6 kB / 1.255 GB, free: 5.367 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.4321, allocations: 32.61 kB / 1.255 GB, free: 5.336 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008445/0.4329, allocations: 0.493 MB / 1.256 GB, free: 4.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.966e-06/0.4329, allocations: 0 / 1.256 GB, free: 4.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003108/0.4361, allocations: 1.228 MB / 1.257 GB, free: 3.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.4362, allocations: 192.9 kB / 1.257 GB, free: 3.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.437, allocations: 0.641 MB / 1.258 GB, free: 2.691 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.437, allocations: 41.7 kB / 1.258 GB, free: 2.645 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.4374, allocations: 424.9 kB / 1.258 GB, free: 2.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.4376, allocations: 277.6 kB / 1.258 GB, free: 1.949 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.4378, allocations: 150.6 kB / 1.258 GB, free: 1.793 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.438, allocations: 390.7 kB / 1.259 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.4385, allocations: 245.9 kB / 1.259 GB, free: 1.164 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.4391, allocations: 389.1 kB / 1.259 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.4401, allocations: 0.615 MB / 1.26 GB, free: 112 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4402, allocations: 0 / 1.26 GB, free: 112 kB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.4585/0.8987, allocations: 0.8321 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.8987, allocations: 13.41 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8987, allocations: 3.125 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.8993, allocations: 81.39 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/0.9, allocations: 160.7 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.9017, allocations: 1.627 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.9025, allocations: 95.48 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.9025, allocations: 38.05 kB / 1.263 GB, free: 172.1 MB / 1.014 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.0004028/0.9029, allocations: 270.9 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.9031, allocations: 87.44 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.9055, allocations: 1.093 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.9055, allocations: 10.06 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.9055, allocations: 0.6094 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.9055, allocations: 8.531 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.909, allocations: 2.101 MB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.909, allocations: 1.062 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.9096, allocations: 151.2 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004201/0.9101, allocations: 74.84 kB / 1.267 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.9101, allocations: 29.86 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.9116, allocations: 1.659 MB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9116, allocations: 1.25 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.9136, allocations: 1.018 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.914, allocations: 287.4 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.9141, allocations: 18.06 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.9147, allocations: 62.33 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.9149, allocations: 73.33 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.915, allocations: 38.89 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005693/0.9155, allocations: 462.5 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9156, allocations: 0.6562 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008959/0.9165, allocations: 316.4 kB / 1.27 GB, free: 168.5 MB / 1.014 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.003359/0.9198, allocations: 2.075 MB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.9217, allocations: 0.818 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9217, allocations: 0.5625 kB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.9227, allocations: 0.5296 MB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.924, allocations: 313.5 kB / 1.274 GB, free: 166.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.9344, allocations: 6.47 MB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.935, allocations: 1.034 MB / 1.281 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009112/0.9359, allocations: 277.7 kB / 1.282 GB, free: 162.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.9364, allocations: 393.1 kB / 1.282 GB, free: 162.4 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.9364, allocations: 4 kB / 1.282 GB, free: 162.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04657/0.983, allocations: 21.89 MB / 1.303 GB, free: 155.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.77, allocations: 5.312 kB / 1.303 GB, free: 155.1 MB / 1.014 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