Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.007907/0.007907, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001953/0.001953, allocations: 199.8 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.313/1.313, 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 10.1.1-maint.10.0.x/package.mo): time 2.466/2.466, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2671, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006615/0.2737, allocations: 5.178 MB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6764/0.9502, allocations: 150.7 MB / 1.318 GB, free: 9.988 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007615/0.951, allocations: 20.12 kB / 1.318 GB, free: 9.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.9516, allocations: 205.7 kB / 1.319 GB, free: 9.867 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.9532, allocations: 0.566 MB / 1.319 GB, free: 9.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.9552, allocations: 0.8547 MB / 1.32 GB, free: 9.453 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.9572, allocations: 1.458 MB / 1.321 GB, free: 9.172 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.9583, allocations: 0.6602 MB / 1.322 GB, free: 9.004 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009112/0.9592, allocations: 0.5208 MB / 1.323 GB, free: 8.895 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.9598, allocations: 0.5555 MB / 1.323 GB, free: 8.754 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.96, allocations: 132.5 kB / 1.323 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.9611, allocations: 0.4888 MB / 1.324 GB, free: 8.715 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.9614, allocations: 326.6 kB / 1.324 GB, free: 8.652 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006846/0.9621, allocations: 0.6043 MB / 1.325 GB, free: 8.258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.9647, allocations: 1.765 MB / 1.326 GB, free: 7.508 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9647, allocations: 0.5156 kB / 1.326 GB, free: 7.508 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9647, allocations: 0 / 1.326 GB, free: 7.508 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.551e-05/0.9648, allocations: 0 / 1.326 GB, free: 7.508 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002961/0.9677, allocations: 1.549 MB / 1.328 GB, free: 6.461 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.9678, allocations: 9.25 kB / 1.328 GB, free: 6.461 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/0.968, allocations: 155.7 kB / 1.328 GB, free: 6.359 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.9697, allocations: 315.3 kB / 1.328 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.971, allocations: 0.7898 MB / 1.329 GB, free: 5.766 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.9711, allocations: 73.02 kB / 1.329 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.9712, allocations: 91.55 kB / 1.329 GB, free: 5.707 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.9732, allocations: 1.076 MB / 1.33 GB, free: 5.238 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9733, allocations: 3.75 kB / 1.33 GB, free: 5.238 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-05/0.9734, allocations: 40.66 kB / 1.33 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.9734, allocations: 22.66 kB / 1.33 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.9758, allocations: 1.274 MB / 1.332 GB, free: 4.918 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.004528/0.9803, allocations: 2.976 MB / 1.334 GB, free: 3.156 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.9829, allocations: 1.026 MB / 1.335 GB, free: 2.727 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/0.9838, allocations: 361.1 kB / 1.336 GB, free: 2.598 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.361e-05/0.9838, allocations: 34.67 kB / 1.336 GB, free: 2.586 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.985, allocations: 0.5591 MB / 1.336 GB, free: 2.367 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.344e-06/0.985, allocations: 0 / 1.336 GB, free: 2.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003999/0.989, allocations: 1.389 MB / 1.338 GB, free: 1.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/0.9891, allocations: 190.1 kB / 1.338 GB, free: 1.598 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.9899, allocations: 0.6395 MB / 1.339 GB, free: 1.316 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.676e-05/0.99, allocations: 42.52 kB / 1.339 GB, free: 1.273 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.9903, allocations: 433.7 kB / 1.339 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.9905, allocations: 285.8 kB / 1.339 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.9908, allocations: 154.2 kB / 1.339 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.991, allocations: 391.2 kB / 1.34 GB, free: 300 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007486/0.9917, allocations: 303 kB / 1.34 GB, free: 204 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.9926, allocations: 417.8 kB / 1.34 GB, free: 0 / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.9942, allocations: 0.6888 MB / 1.341 GB, free: 15.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9942, allocations: 1.125 kB / 1.341 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002434/0.9967, allocations: 0.9314 MB / 1.342 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9967, allocations: 8.781 kB / 1.342 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9967, allocations: 1.344 kB / 1.342 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.9973, allocations: 83.36 kB / 1.342 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/0.9981, allocations: 177.9 kB / 1.342 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/1, allocations: 1.634 MB / 1.344 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/1.001, allocations: 114.7 kB / 1.344 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/1.001, allocations: 35.62 kB / 1.344 GB, free: 13.71 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 89 * 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.0004524/1.002, allocations: 264.5 kB / 1.344 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/1.002, allocations: 88.31 kB / 1.344 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/1.005, allocations: 1.218 MB / 1.346 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.005, allocations: 9.469 kB / 1.346 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.005, allocations: 1 kB / 1.346 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.005, allocations: 4.406 kB / 1.346 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/1.009, allocations: 2.141 MB / 1.348 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.009, allocations: 2.625 kB / 1.348 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/1.009, allocations: 172.8 kB / 1.348 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/1.01, allocations: 73.47 kB / 1.348 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/1.01, allocations: 30.61 kB / 1.348 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.012, allocations: 1.661 MB / 1.35 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.012, allocations: 0 / 1.35 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/1.015, allocations: 1.125 MB / 1.351 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/1.015, allocations: 282.9 kB / 1.351 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/1.015, allocations: 24.16 kB / 1.351 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/1.016, allocations: 82.16 kB / 1.351 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/1.016, allocations: 79.08 kB / 1.351 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/1.016, allocations: 34.77 kB / 1.351 GB, free: 9.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006567/1.017, allocations: 469.6 kB / 1.352 GB, free: 9.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.017, allocations: 0.9688 kB / 1.352 GB, free: 9.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001103/1.018, allocations: 346.8 kB / 1.352 GB, free: 9.344 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 (97): * Single equations (assignments): 91 * 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.004118/1.022, allocations: 2.184 MB / 1.354 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002323/1.025, allocations: 0.911 MB / 1.355 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.025, allocations: 1.5 kB / 1.355 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.026, allocations: 0.5873 MB / 1.356 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.027, allocations: 308.2 kB / 1.356 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.04, allocations: 6.759 MB / 1.362 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/1.04, allocations: 1.046 MB / 1.363 GB, free: 2.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009925/1.041, allocations: 285.1 kB / 1.364 GB, free: 2.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/1.042, allocations: 422.7 kB / 1.364 GB, free: 1.98 MB / 1.029 GB Notification: Performance of SimCode: time 7.42e-07/1.042, allocations: 0 / 1.364 GB, free: 1.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05034/1.093, allocations: 22.68 MB / 1.386 GB, free: 2.977 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.48, allocations: 9.391 kB / 1.386 GB, free: 2.977 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches