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.004491/0.004491, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001046/0.001046, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.053/2.053, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.88 kB / 0.9503 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6771, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005266/0.6825, allocations: 4.435 MB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.8418, allocations: 150.6 MB / 1.239 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008645/0.8427, allocations: 16 kB / 1.239 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.8433, allocations: 179.2 kB / 1.239 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.845, allocations: 0.5135 MB / 1.239 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.847, allocations: 0.8445 MB / 1.24 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.8484, allocations: 1.346 MB / 1.242 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008422/0.8493, allocations: 0.6484 MB / 1.242 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.8499, allocations: 489.6 kB / 1.243 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.8505, allocations: 0.5036 MB / 1.243 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.8507, allocations: 117.7 kB / 1.243 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009132/0.8516, allocations: 488.6 kB / 1.244 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.8519, allocations: 298.8 kB / 1.244 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.8524, allocations: 0.5621 MB / 1.245 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.8541, allocations: 1.631 MB / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8541, allocations: 0 / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8541, allocations: 0 / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.8541, allocations: 7.938 kB / 1.246 GB, free: 11.15 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.002419/0.8566, allocations: 1.45 MB / 1.248 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.8566, allocations: 8.031 kB / 1.248 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.8568, allocations: 143.6 kB / 1.248 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.858, allocations: 231.3 kB / 1.248 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.8591, allocations: 0.7693 MB / 1.249 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.8592, allocations: 66 kB / 1.249 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.8593, allocations: 84 kB / 1.249 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.8609, allocations: 0.9911 MB / 1.25 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.8609, allocations: 0 / 1.25 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.861, allocations: 39.94 kB / 1.25 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.861, allocations: 20 kB / 1.25 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.8629, allocations: 1.163 MB / 1.251 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.8668, allocations: 2.797 MB / 1.254 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.8686, allocations: 0.9338 MB / 1.255 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.8691, allocations: 314.7 kB / 1.255 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.255e-05/0.8692, allocations: 32.61 kB / 1.255 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008145/0.87, allocations: 0.4925 MB / 1.256 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/0.8701, allocations: 0 / 1.256 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003113/0.8732, allocations: 1.227 MB / 1.257 GB, free: 96 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/0.8733, allocations: 188.9 kB / 1.257 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.874, allocations: 0.6372 MB / 1.258 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.8741, allocations: 41.7 kB / 1.258 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.8744, allocations: 412.2 kB / 1.258 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.8746, allocations: 268.1 kB / 1.258 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.8748, allocations: 154.5 kB / 1.258 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.875, allocations: 386.8 kB / 1.259 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.8755, allocations: 249.9 kB / 1.259 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.8761, allocations: 389.1 kB / 1.259 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.8772, allocations: 0.6189 MB / 1.26 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8772, allocations: 0 / 1.26 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001846/0.879, allocations: 0.8409 MB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.8791, allocations: 7.938 kB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8791, allocations: 4 kB / 1.261 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.8797, allocations: 80.91 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.8803, allocations: 163.8 kB / 1.261 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.8823, allocations: 1.63 MB / 1.263 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.883, allocations: 95.22 kB / 1.263 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.8831, allocations: 27.98 kB / 1.263 GB, free: 9.648 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.0003958/0.8835, allocations: 275.1 kB / 1.263 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.8836, allocations: 82.97 kB / 1.263 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.8859, allocations: 1.085 MB / 1.264 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.886, allocations: 8 kB / 1.264 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.886, allocations: 3.984 kB / 1.264 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.886, allocations: 3.984 kB / 1.264 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.8894, allocations: 2.092 MB / 1.266 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.8894, allocations: 7.984 kB / 1.266 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.89, allocations: 147.8 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.8905, allocations: 72.8 kB / 1.266 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.8905, allocations: 27.97 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.8923, allocations: 1.658 MB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8924, allocations: 4.031 kB / 1.268 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.8943, allocations: 1.01 MB / 1.269 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.8947, allocations: 279.7 kB / 1.269 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.8949, allocations: 16 kB / 1.269 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.8955, allocations: 66.05 kB / 1.269 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.8957, allocations: 80.97 kB / 1.269 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.8958, allocations: 39.97 kB / 1.269 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005203/0.8963, allocations: 459 kB / 1.27 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/0.8963, allocations: 4 kB / 1.27 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00082/0.8971, allocations: 311.2 kB / 1.27 GB, free: 1.68 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.003371/0.9005, allocations: 2.066 MB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.9022, allocations: 0.8238 MB / 1.273 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9022, allocations: 0 / 1.273 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009157/0.9031, allocations: 0.5275 MB / 1.274 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.9044, allocations: 305.8 kB / 1.274 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.915, allocations: 6.436 MB / 1.28 GB, free: 7.504 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.9156, allocations: 1.036 MB / 1.281 GB, free: 6.441 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008134/0.9164, allocations: 278.8 kB / 1.281 GB, free: 6.164 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.917, allocations: 399.3 kB / 1.282 GB, free: 5.773 MB / 1.014 GB Notification: Performance of SimCode: time 9.02e-07/0.917, allocations: 0 / 1.282 GB, free: 5.773 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/0.9637, allocations: 21.89 MB / 1.303 GB, free: 188 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.41, allocations: 11.47 kB / 1.303 GB, free: 176 kB / 1.029 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