Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_11_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.007601/0.007602, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001999/0.001999, allocations: 195.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.206/2.206, allocations: 222.9 MB / 240.4 MB, free: 15.08 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 4.185/4.185, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 71.83 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.02, allocations: 159.1 MB / 1.22 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.0073/1.027, allocations: 5.168 MB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1775/1.205, allocations: 150.7 MB / 1.372 GB, free: 5.645 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009183/1.206, allocations: 15.94 kB / 1.372 GB, free: 5.629 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006668/1.207, allocations: 198.1 kB / 1.373 GB, free: 5.434 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/1.209, allocations: 0.5671 MB / 1.373 GB, free: 4.867 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/1.211, allocations: 0.8478 MB / 1.374 GB, free: 4.023 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001798/1.212, allocations: 1.464 MB / 1.375 GB, free: 2.555 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009834/1.213, allocations: 0.6648 MB / 1.376 GB, free: 1.863 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/1.214, allocations: 0.5256 MB / 1.376 GB, free: 1.336 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000696/1.215, allocations: 0.5523 MB / 1.377 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/1.215, allocations: 128 kB / 1.377 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/1.216, allocations: 0.4917 MB / 1.378 GB, free: 168 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/1.216, allocations: 319 kB / 1.378 GB, free: 15.85 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005824/1.217, allocations: 0.6063 MB / 1.379 GB, free: 15.24 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/1.219, allocations: 1.764 MB / 1.38 GB, free: 13.47 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.219, allocations: 0 / 1.38 GB, free: 13.47 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.176e-06/1.219, allocations: 7.984 kB / 1.38 GB, free: 13.46 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.219, allocations: 4 kB / 1.38 GB, free: 13.46 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002731/1.222, allocations: 1.545 MB / 1.382 GB, free: 11.86 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.222, allocations: 12.03 kB / 1.382 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/1.222, allocations: 148.3 kB / 1.382 GB, free: 11.69 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/1.224, allocations: 307.9 kB / 1.382 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/1.225, allocations: 0.801 MB / 1.383 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/1.225, allocations: 77.98 kB / 1.383 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.225, allocations: 92 kB / 1.383 GB, free: 10.38 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/1.227, allocations: 1.062 MB / 1.384 GB, free: 9.281 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/1.227, allocations: 4 kB / 1.384 GB, free: 9.277 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.228, allocations: 40 kB / 1.384 GB, free: 9.238 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/1.228, allocations: 24 kB / 1.384 GB, free: 9.215 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/1.23, allocations: 1.272 MB / 1.386 GB, free: 7.941 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.004895/1.235, allocations: 2.973 MB / 1.388 GB, free: 4.844 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/1.238, allocations: 1.024 MB / 1.389 GB, free: 3.793 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008371/1.239, allocations: 366.6 kB / 1.39 GB, free: 3.434 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.358e-05/1.239, allocations: 34.47 kB / 1.39 GB, free: 3.402 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/1.24, allocations: 0.5627 MB / 1.39 GB, free: 2.824 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/1.24, allocations: 0 / 1.39 GB, free: 2.824 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.004129/1.244, allocations: 1.392 MB / 1.392 GB, free: 1.402 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.244, allocations: 188.9 kB / 1.392 GB, free: 1.176 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/1.245, allocations: 0.6411 MB / 1.393 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/1.245, allocations: 45.7 kB / 1.393 GB, free: 492 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/1.246, allocations: 444.9 kB / 1.393 GB, free: 40 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/1.246, allocations: 281.8 kB / 1.393 GB, free: 15.76 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.246, allocations: 146.6 kB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.246, allocations: 386.8 kB / 1.394 GB, free: 15.22 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007739/1.247, allocations: 309.8 kB / 1.394 GB, free: 14.92 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009011/1.248, allocations: 414.5 kB / 1.394 GB, free: 14.49 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/1.25, allocations: 0.6866 MB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.25, allocations: 0 / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002509/1.252, allocations: 0.9347 MB / 1.396 GB, free: 12.85 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.252, allocations: 8 kB / 1.396 GB, free: 12.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.252, allocations: 0 / 1.396 GB, free: 12.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/1.253, allocations: 80.88 kB / 1.396 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/1.254, allocations: 171.8 kB / 1.396 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/1.256, allocations: 1.642 MB / 1.398 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/1.257, allocations: 111.5 kB / 1.398 GB, free: 10.69 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/1.257, allocations: 31.97 kB / 1.398 GB, free: 10.66 MB / 1.123 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.0005296/1.257, allocations: 284.4 kB / 1.398 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.258, allocations: 91.42 kB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/1.261, allocations: 1.198 MB / 1.4 GB, free: 9.066 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.261, allocations: 19.98 kB / 1.4 GB, free: 9.047 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.261, allocations: 0 / 1.4 GB, free: 9.047 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.261, allocations: 3.984 kB / 1.4 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/1.265, allocations: 2.133 MB / 1.402 GB, free: 6.855 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.265, allocations: 0 / 1.402 GB, free: 6.855 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/1.265, allocations: 175.8 kB / 1.402 GB, free: 6.684 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/1.266, allocations: 68.78 kB / 1.402 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/1.266, allocations: 35.91 kB / 1.402 GB, free: 6.578 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/1.268, allocations: 1.662 MB / 1.404 GB, free: 4.773 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.268, allocations: 0 / 1.404 GB, free: 4.773 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/1.271, allocations: 1.127 MB / 1.405 GB, free: 3.625 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/1.271, allocations: 284.2 kB / 1.405 GB, free: 3.328 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.271, allocations: 20 kB / 1.405 GB, free: 3.309 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008154/1.272, allocations: 87.84 kB / 1.405 GB, free: 3.223 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.272, allocations: 72.89 kB / 1.405 GB, free: 3.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.318e-05/1.272, allocations: 35.98 kB / 1.405 GB, free: 3.117 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006354/1.273, allocations: 467 kB / 1.406 GB, free: 2.664 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/1.273, allocations: 0 / 1.406 GB, free: 2.664 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009492/1.274, allocations: 351 kB / 1.406 GB, free: 2.32 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 (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.004822/1.279, allocations: 2.182 MB / 1.408 GB, free: 296 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002339/1.281, allocations: 0.9173 MB / 1.409 GB, free: 15.36 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.281, allocations: 4 kB / 1.409 GB, free: 15.36 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.282, allocations: 0.586 MB / 1.41 GB, free: 14.76 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/1.284, allocations: 316.5 kB / 1.41 GB, free: 14.48 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.296, allocations: 6.763 MB / 1.416 GB, free: 7.562 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/1.297, allocations: 1.047 MB / 1.417 GB, free: 6.484 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009576/1.298, allocations: 278.9 kB / 1.418 GB, free: 6.207 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/1.299, allocations: 423.2 kB / 1.418 GB, free: 5.793 MB / 1.139 GB Notification: Performance of SimCode: time 6.51e-07/1.299, allocations: 4 kB / 1.418 GB, free: 5.789 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06445/1.363, allocations: 22.66 MB / 1.44 GB, free: 15.48 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.67/20.03, allocations: 4 kB / 1.44 GB, free: 15.48 MB / 1.17 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches