Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_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.006509/0.006509, allocations: 98.02 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.001663/0.001663, allocations: 196.3 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.495/2.495, allocations: 469.4 MB / 0.7422 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6315/0.6328, allocations: 159.1 MB / 1.22 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006306/0.6391, allocations: 5.158 MB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1453/0.7844, allocations: 150.7 MB / 1.372 GB, free: 5.879 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.7852, allocations: 19.88 kB / 1.372 GB, free: 5.859 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.7859, allocations: 210.1 kB / 1.372 GB, free: 5.652 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.7877, allocations: 0.5736 MB / 1.373 GB, free: 5.082 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.7896, allocations: 0.8563 MB / 1.374 GB, free: 4.23 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.7911, allocations: 1.475 MB / 1.375 GB, free: 2.75 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009152/0.792, allocations: 0.6563 MB / 1.376 GB, free: 2.07 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006622/0.7927, allocations: 0.5255 MB / 1.376 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.7933, allocations: 0.5484 MB / 1.377 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.7935, allocations: 128 kB / 1.377 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000813/0.7944, allocations: 0.4917 MB / 1.377 GB, free: 384 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.7947, allocations: 315 kB / 1.378 GB, free: 68 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.7952, allocations: 0.618 MB / 1.378 GB, free: 15.45 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.7971, allocations: 1.76 MB / 1.38 GB, free: 13.68 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7971, allocations: 4 kB / 1.38 GB, free: 13.68 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7971, allocations: 0 / 1.38 GB, free: 13.68 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.167e-05/0.7972, allocations: 0 / 1.38 GB, free: 13.68 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.002704/0.7999, allocations: 1.545 MB / 1.381 GB, free: 12.07 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.7999, allocations: 12.62 kB / 1.381 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.8001, allocations: 156.2 kB / 1.382 GB, free: 11.9 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.8019, allocations: 315.9 kB / 1.382 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.8031, allocations: 0.7893 MB / 1.383 GB, free: 10.76 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.8031, allocations: 77.98 kB / 1.383 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.8033, allocations: 92 kB / 1.383 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.8053, allocations: 1.07 MB / 1.384 GB, free: 9.484 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.8053, allocations: 0 / 1.384 GB, free: 9.484 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/0.8054, allocations: 44 kB / 1.384 GB, free: 9.441 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.8055, allocations: 24 kB / 1.384 GB, free: 9.418 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.8078, allocations: 1.268 MB / 1.385 GB, free: 8.152 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.004506/0.8124, allocations: 2.963 MB / 1.388 GB, free: 5.062 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.815, allocations: 1.04 MB / 1.389 GB, free: 4 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008161/0.8159, allocations: 366.6 kB / 1.389 GB, free: 3.641 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.816, allocations: 38.47 kB / 1.389 GB, free: 3.605 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.8171, allocations: 0.551 MB / 1.39 GB, free: 3.039 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 2.204e-06/0.8171, allocations: 0 / 1.39 GB, free: 3.039 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003968/0.8211, allocations: 1.384 MB / 1.391 GB, free: 1.625 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.8212, allocations: 200.9 kB / 1.391 GB, free: 1.387 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007431/0.8219, allocations: 0.6371 MB / 1.392 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/0.822, allocations: 45.7 kB / 1.392 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.8223, allocations: 436.9 kB / 1.393 GB, free: 264 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.8225, allocations: 281.8 kB / 1.393 GB, free: 15.98 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.8228, allocations: 150.6 kB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.823, allocations: 390.7 kB / 1.393 GB, free: 15.43 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/0.8237, allocations: 305.8 kB / 1.394 GB, free: 15.13 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.8246, allocations: 418.5 kB / 1.394 GB, free: 14.7 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.8262, allocations: 0.6945 MB / 1.395 GB, free: 14 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8262, allocations: 0 / 1.395 GB, free: 14 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002367/0.8286, allocations: 0.9231 MB / 1.396 GB, free: 13.06 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8286, allocations: 5.406 kB / 1.396 GB, free: 13.06 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.8286, allocations: 0 / 1.396 GB, free: 13.06 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.8292, allocations: 84.86 kB / 1.396 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008116/0.8301, allocations: 183.7 kB / 1.396 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.8321, allocations: 1.635 MB / 1.397 GB, free: 11.01 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.8329, allocations: 107.5 kB / 1.398 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/0.833, allocations: 31.97 kB / 1.398 GB, free: 10.88 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.0003826/0.8334, allocations: 277.6 kB / 1.398 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.8335, allocations: 95.36 kB / 1.398 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.8366, allocations: 1.21 MB / 1.399 GB, free: 9.27 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.8366, allocations: 8 kB / 1.399 GB, free: 9.262 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.8366, allocations: 0 / 1.399 GB, free: 9.262 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.8366, allocations: 3.984 kB / 1.399 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.8405, allocations: 2.129 MB / 1.401 GB, free: 7.074 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.8405, allocations: 0 / 1.401 GB, free: 7.074 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.8414, allocations: 183.7 kB / 1.401 GB, free: 6.895 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.8418, allocations: 76.78 kB / 1.401 GB, free: 6.816 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.8419, allocations: 27.92 kB / 1.402 GB, free: 6.789 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.8438, allocations: 1.662 MB / 1.403 GB, free: 4.984 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8438, allocations: 4.062 kB / 1.403 GB, free: 4.98 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.8464, allocations: 1.127 MB / 1.404 GB, free: 3.832 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.8468, allocations: 280.2 kB / 1.405 GB, free: 3.539 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.8469, allocations: 16 kB / 1.405 GB, free: 3.523 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008598/0.8478, allocations: 94.8 kB / 1.405 GB, free: 3.434 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.8479, allocations: 72.89 kB / 1.405 GB, free: 3.363 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.848, allocations: 40.05 kB / 1.405 GB, free: 3.324 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000552/0.8486, allocations: 471 kB / 1.405 GB, free: 2.867 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8486, allocations: 4 kB / 1.405 GB, free: 2.863 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008339/0.8494, allocations: 339.1 kB / 1.406 GB, free: 2.531 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.004018/0.8534, allocations: 2.185 MB / 1.408 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002125/0.8556, allocations: 0.9135 MB / 1.409 GB, free: 15.57 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8556, allocations: 0 / 1.409 GB, free: 15.57 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.8568, allocations: 0.5899 MB / 1.409 GB, free: 14.97 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.8581, allocations: 311.2 kB / 1.409 GB, free: 14.69 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.8697, allocations: 6.765 MB / 1.416 GB, free: 7.773 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.8703, allocations: 1.055 MB / 1.417 GB, free: 6.688 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008298/0.8712, allocations: 274.9 kB / 1.417 GB, free: 6.414 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/0.8718, allocations: 419.3 kB / 1.418 GB, free: 6.004 MB / 1.139 GB Notification: Performance of SimCode: time 3.4e-07/0.8718, allocations: 0 / 1.418 GB, free: 6.004 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04555/0.9173, allocations: 22.67 MB / 1.44 GB, free: 15.71 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.73, allocations: 6.734 kB / 1.44 GB, free: 15.71 MB / 1.17 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches