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.005621/0.005621, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001429/0.001429, allocations: 195 kB / 16.68 MB, free: 5.969 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.968/2.968, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003793/0.003793, allocations: 71.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886/1.89, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.01517/1.905, allocations: 4.924 MB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.3261/2.231, allocations: 150.6 MB / 1.372 GB, free: 5.863 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/2.234, allocations: 15.94 kB / 1.372 GB, free: 5.848 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/2.236, allocations: 190.2 kB / 1.372 GB, free: 5.66 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005021/2.241, allocations: 0.5522 MB / 1.373 GB, free: 5.109 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01332/2.254, allocations: 0.8623 MB / 1.374 GB, free: 4.254 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004291/2.258, allocations: 1.432 MB / 1.375 GB, free: 2.816 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006234/2.265, allocations: 0.5959 MB / 1.376 GB, free: 2.195 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/2.267, allocations: 0.5021 MB / 1.376 GB, free: 1.691 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006321/2.273, allocations: 0.5095 MB / 1.377 GB, free: 1.18 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008932/2.274, allocations: 116 kB / 1.377 GB, free: 1.066 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/2.277, allocations: 491.6 kB / 1.377 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008977/2.278, allocations: 299.1 kB / 1.377 GB, free: 300 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/2.28, allocations: 0.5752 MB / 1.378 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005843/2.285, allocations: 1.664 MB / 1.38 GB, free: 14.05 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/2.285, allocations: 0 / 1.38 GB, free: 14.05 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.876e-06/2.285, allocations: 0 / 1.38 GB, free: 14.05 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.176e-05/2.286, allocations: 4 kB / 1.38 GB, free: 14.04 MB / 1.107 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.007074/2.293, allocations: 1.495 MB / 1.381 GB, free: 12.5 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 9.774e-05/2.293, allocations: 12.03 kB / 1.381 GB, free: 12.48 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000561/2.293, allocations: 139.6 kB / 1.381 GB, free: 12.34 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/2.296, allocations: 236 kB / 1.381 GB, free: 12.11 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/2.298, allocations: 0.7854 MB / 1.382 GB, free: 11.28 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/2.298, allocations: 62 kB / 1.382 GB, free: 11.22 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/2.299, allocations: 87.98 kB / 1.382 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/2.302, allocations: 0.9794 MB / 1.383 GB, free: 10.1 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/2.302, allocations: 4 kB / 1.383 GB, free: 10.1 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/2.302, allocations: 36 kB / 1.383 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/2.302, allocations: 24 kB / 1.383 GB, free: 10.04 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003793/2.306, allocations: 1.171 MB / 1.385 GB, free: 8.867 MB / 1.107 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.00902/2.315, allocations: 3.018 MB / 1.387 GB, free: 5.715 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/2.319, allocations: 0.9537 MB / 1.388 GB, free: 4.742 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/2.32, allocations: 314.7 kB / 1.389 GB, free: 4.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/2.32, allocations: 32.59 kB / 1.389 GB, free: 4.398 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/2.321, allocations: 0.5043 MB / 1.389 GB, free: 3.879 MB / 1.107 GB Notification: Performance of pre-optimization done (n=83): time 6.112e-06/2.322, allocations: 3.938 kB / 1.389 GB, free: 3.875 MB / 1.107 GB Notification: Performance of matching and sorting (n=83): time 0.005676/2.327, allocations: 1.236 MB / 1.39 GB, free: 2.613 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/2.327, allocations: 188.9 kB / 1.391 GB, free: 2.387 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/2.329, allocations: 0.6332 MB / 1.391 GB, free: 1.75 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/2.33, allocations: 41.7 kB / 1.391 GB, free: 1.703 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006721/2.33, allocations: 421 kB / 1.392 GB, free: 1.285 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/2.331, allocations: 277.6 kB / 1.392 GB, free: 1.012 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005238/2.331, allocations: 158.5 kB / 1.392 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0004453/2.332, allocations: 390.8 kB / 1.392 GB, free: 472 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/2.333, allocations: 253.9 kB / 1.393 GB, free: 216 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/2.334, allocations: 385.2 kB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/2.336, allocations: 0.6228 MB / 1.394 GB, free: 15.16 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/2.336, allocations: 0 / 1.394 GB, free: 15.16 MB / 1.123 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003698/2.34, allocations: 0.8452 MB / 1.395 GB, free: 14.3 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/2.34, allocations: 4 kB / 1.395 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/2.34, allocations: 3.984 kB / 1.395 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009574/2.341, allocations: 84.97 kB / 1.395 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/2.342, allocations: 163.7 kB / 1.395 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/2.346, allocations: 1.634 MB / 1.396 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/2.347, allocations: 95.45 kB / 1.396 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/2.347, allocations: 36.05 kB / 1.396 GB, free: 12.13 MB / 1.123 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.0009706/2.348, allocations: 269.5 kB / 1.397 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/2.349, allocations: 87.48 kB / 1.397 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/2.353, allocations: 1.093 MB / 1.398 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/2.353, allocations: 8 kB / 1.398 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/2.353, allocations: 3.984 kB / 1.398 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/2.353, allocations: 7.922 kB / 1.398 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/2.359, allocations: 2.095 MB / 1.4 GB, free: 8.484 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/2.359, allocations: 7.984 kB / 1.4 GB, free: 8.477 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/2.359, allocations: 151.8 kB / 1.4 GB, free: 8.328 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006693/2.36, allocations: 68.8 kB / 1.4 GB, free: 8.258 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/2.36, allocations: 31.97 kB / 1.4 GB, free: 8.227 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/2.363, allocations: 1.647 MB / 1.402 GB, free: 6.434 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/2.363, allocations: 7.938 kB / 1.402 GB, free: 6.426 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/2.367, allocations: 1.026 MB / 1.403 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008637/2.368, allocations: 280.3 kB / 1.403 GB, free: 5.09 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/2.368, allocations: 20 kB / 1.403 GB, free: 5.07 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/2.37, allocations: 59.92 kB / 1.403 GB, free: 5.012 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/2.37, allocations: 80.83 kB / 1.403 GB, free: 4.93 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/2.37, allocations: 31.98 kB / 1.403 GB, free: 4.898 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001362/2.371, allocations: 471 kB / 1.404 GB, free: 4.441 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.4e-07/2.372, allocations: 0 / 1.404 GB, free: 4.441 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002004/2.374, allocations: 331.1 kB / 1.404 GB, free: 4.117 MB / 1.123 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.007854/2.381, allocations: 2.052 MB / 1.406 GB, free: 2.215 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002937/2.384, allocations: 0.8272 MB / 1.407 GB, free: 1.375 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/2.384, allocations: 0 / 1.407 GB, free: 1.375 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/2.386, allocations: 0.5279 MB / 1.407 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/2.389, allocations: 339.5 kB / 1.408 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/2.411, allocations: 6.363 MB / 1.414 GB, free: 10 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/2.413, allocations: 1.032 MB / 1.415 GB, free: 8.941 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001825/2.414, allocations: 263 kB / 1.415 GB, free: 8.68 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/2.416, allocations: 399.2 kB / 1.416 GB, free: 8.289 MB / 1.139 GB Notification: Performance of SimCode: time 1.012e-06/2.416, allocations: 0 / 1.416 GB, free: 8.289 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1527/2.568, allocations: 22.3 MB / 1.437 GB, free: 2.301 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.13/32.7, allocations: 9.344 kB / 1.437 GB, free: 2.297 MB / 1.154 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 50 --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