Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_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.005108/0.005108, allocations: 99.33 kB / 15.73 MB, free: 6.5 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.001054/0.001054, allocations: 194.9 kB / 16.67 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 68.05 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2632, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006427/0.2697, allocations: 4.937 MB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7/0.9697, allocations: 150.6 MB / 1.318 GB, free: 9.781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008734/0.9707, allocations: 20.44 kB / 1.318 GB, free: 9.773 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.9715, allocations: 194.8 kB / 1.318 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.9736, allocations: 0.5527 MB / 1.319 GB, free: 9.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.9759, allocations: 0.8571 MB / 1.32 GB, free: 9.258 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.9779, allocations: 1.421 MB / 1.321 GB, free: 8.992 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.979, allocations: 0.6069 MB / 1.322 GB, free: 8.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009637/0.98, allocations: 0.5052 MB / 1.322 GB, free: 8.727 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009882/0.981, allocations: 0.5105 MB / 1.323 GB, free: 8.598 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004124/0.9814, allocations: 117 kB / 1.323 GB, free: 8.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.9828, allocations: 492.5 kB / 1.323 GB, free: 8.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.9833, allocations: 295.9 kB / 1.323 GB, free: 8.508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.9844, allocations: 0.5748 MB / 1.324 GB, free: 8.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.9869, allocations: 1.663 MB / 1.326 GB, free: 7.766 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.9869, allocations: 4 kB / 1.326 GB, free: 7.762 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.987, allocations: 0 / 1.326 GB, free: 7.762 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.987, allocations: 0.9688 kB / 1.326 GB, free: 7.762 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.002804/0.9898, allocations: 1.499 MB / 1.327 GB, free: 6.742 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.9898, allocations: 10.42 kB / 1.327 GB, free: 6.742 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.99, allocations: 139.9 kB / 1.327 GB, free: 6.648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.9913, allocations: 237.4 kB / 1.328 GB, free: 6.578 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.9926, allocations: 0.7818 MB / 1.328 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.9927, allocations: 69.72 kB / 1.328 GB, free: 6.039 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.9928, allocations: 85.25 kB / 1.328 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.9946, allocations: 0.9827 MB / 1.329 GB, free: 5.547 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.9947, allocations: 1.469 kB / 1.329 GB, free: 5.547 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/0.9948, allocations: 39.84 kB / 1.329 GB, free: 5.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.9948, allocations: 21.94 kB / 1.329 GB, free: 5.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.9968, allocations: 1.161 MB / 1.331 GB, free: 5.254 MB / 1.014 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.00421/1.001, allocations: 3.014 MB / 1.334 GB, free: 3.316 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/1.003, allocations: 0.9436 MB / 1.334 GB, free: 2.902 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/1.003, allocations: 315.2 kB / 1.335 GB, free: 2.781 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/1.003, allocations: 33.52 kB / 1.335 GB, free: 2.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008734/1.004, allocations: 0.5054 MB / 1.335 GB, free: 2.559 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/1.004, allocations: 0 / 1.335 GB, free: 2.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003227/1.008, allocations: 1.23 MB / 1.336 GB, free: 2.043 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/1.008, allocations: 192.3 kB / 1.337 GB, free: 1.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008058/1.009, allocations: 0.6336 MB / 1.337 GB, free: 1.539 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.251e-05/1.009, allocations: 45.98 kB / 1.337 GB, free: 1.496 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/1.009, allocations: 416 kB / 1.338 GB, free: 1.168 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/1.009, allocations: 282 kB / 1.338 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.009, allocations: 156.2 kB / 1.338 GB, free: 0.875 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.01, allocations: 393.7 kB / 1.339 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/1.01, allocations: 252.2 kB / 1.339 GB, free: 448 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/1.011, allocations: 386.3 kB / 1.339 GB, free: 228 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.012, allocations: 0.6195 MB / 1.34 GB, free: 15.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.012, allocations: 1.438 kB / 1.34 GB, free: 15.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001932/1.014, allocations: 0.8421 MB / 1.341 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.014, allocations: 6.125 kB / 1.341 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.014, allocations: 4.422 kB / 1.341 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/1.014, allocations: 87.77 kB / 1.341 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/1.015, allocations: 161.7 kB / 1.341 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/1.017, allocations: 1.637 MB / 1.342 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/1.018, allocations: 105.2 kB / 1.342 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/1.018, allocations: 30.39 kB / 1.343 GB, free: 13.93 MB / 1.029 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.0004391/1.018, allocations: 263.3 kB / 1.343 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/1.019, allocations: 87.75 kB / 1.343 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/1.021, allocations: 1.092 MB / 1.344 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.021, allocations: 10.34 kB / 1.344 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.021, allocations: 4 kB / 1.344 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.021, allocations: 7.953 kB / 1.344 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/1.024, allocations: 2.1 MB / 1.346 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.025, allocations: 1.25 kB / 1.346 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/1.025, allocations: 153.7 kB / 1.346 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/1.026, allocations: 75.91 kB / 1.346 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/1.026, allocations: 25.59 kB / 1.346 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/1.027, allocations: 1.657 MB / 1.348 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.027, allocations: 4.062 kB / 1.348 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/1.03, allocations: 1.018 MB / 1.349 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/1.03, allocations: 277.3 kB / 1.349 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/1.03, allocations: 20.14 kB / 1.349 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/1.031, allocations: 66.39 kB / 1.349 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/1.031, allocations: 75.3 kB / 1.349 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/1.031, allocations: 42.75 kB / 1.349 GB, free: 9.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005828/1.032, allocations: 457.7 kB / 1.35 GB, free: 9.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.032, allocations: 0 / 1.35 GB, free: 9.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009793/1.033, allocations: 331.1 kB / 1.35 GB, free: 9.582 MB / 1.029 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.003524/1.036, allocations: 2.067 MB / 1.352 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001707/1.038, allocations: 0.8178 MB / 1.353 GB, free: 8.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.038, allocations: 4.312 kB / 1.353 GB, free: 8.066 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009235/1.039, allocations: 0.525 MB / 1.353 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.04, allocations: 340.4 kB / 1.354 GB, free: 7.707 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009874/1.05, allocations: 6.365 MB / 1.36 GB, free: 4.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/1.051, allocations: 1.031 MB / 1.361 GB, free: 3.336 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008982/1.052, allocations: 267.4 kB / 1.361 GB, free: 3.203 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/1.052, allocations: 392.7 kB / 1.362 GB, free: 2.891 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/1.052, allocations: 0 / 1.362 GB, free: 2.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/1.099, allocations: 22.31 MB / 1.383 GB, free: 5.688 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.27, allocations: 16 kB / 1.383 GB, free: 5.672 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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