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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 114.3 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002995/0.002995, allocations: 219.9 kB / 22.26 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.664/1.664, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.74/2.74, allocations: 476.8 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 64.45 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3555, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007837/0.3633, allocations: 5.261 MB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1906/0.554, allocations: 154.2 MB / 1.439 GB, free: 11.65 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.5551, allocations: 23.81 kB / 1.439 GB, free: 11.63 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007453/0.5559, allocations: 202.1 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.5583, allocations: 0.5824 MB / 1.44 GB, free: 10.85 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.5606, allocations: 0.9009 MB / 1.441 GB, free: 9.953 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.5628, allocations: 1.491 MB / 1.442 GB, free: 8.453 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009774/0.5638, allocations: 482.3 kB / 1.443 GB, free: 7.957 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.5648, allocations: 0.5451 MB / 1.443 GB, free: 7.41 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/0.5656, allocations: 0.564 MB / 1.444 GB, free: 6.844 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.5658, allocations: 128 kB / 1.444 GB, free: 6.719 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.567, allocations: 0.5192 MB / 1.444 GB, free: 6.199 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.5674, allocations: 330.9 kB / 1.445 GB, free: 5.875 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006164/0.568, allocations: 0.6258 MB / 1.445 GB, free: 5.246 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.5705, allocations: 1.806 MB / 1.447 GB, free: 3.434 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5705, allocations: 0 / 1.447 GB, free: 3.434 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5705, allocations: 0 / 1.447 GB, free: 3.434 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.443e-05/0.5705, allocations: 0 / 1.447 GB, free: 3.434 MB / 1.139 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.003054/0.5735, allocations: 1.508 MB / 1.449 GB, free: 1.891 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5736, allocations: 8.031 kB / 1.449 GB, free: 1.883 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.5738, allocations: 148.3 kB / 1.449 GB, free: 1.73 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.5764, allocations: 371.8 kB / 1.449 GB, free: 1.367 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.578, allocations: 0.7374 MB / 1.45 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/0.5781, allocations: 77.98 kB / 1.45 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.5783, allocations: 96 kB / 1.45 GB, free: 440 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.5804, allocations: 1.07 MB / 1.451 GB, free: 15.32 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.5804, allocations: 0 / 1.451 GB, free: 15.32 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5805, allocations: 43.94 kB / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.5805, allocations: 24 kB / 1.451 GB, free: 15.25 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.5829, allocations: 1.268 MB / 1.452 GB, free: 13.98 MB / 1.154 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.005093/0.588, allocations: 2.916 MB / 1.455 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/0.5907, allocations: 0.898 MB / 1.456 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008157/0.5915, allocations: 338.6 kB / 1.456 GB, free: 9.711 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.908e-05/0.5916, allocations: 34.42 kB / 1.456 GB, free: 9.676 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.5928, allocations: 0.5627 MB / 1.457 GB, free: 9.098 MB / 1.154 GB Notification: Performance of pre-optimization done (n=84): time 2.395e-06/0.5928, allocations: 0 / 1.457 GB, free: 9.098 MB / 1.154 GB Notification: Performance of matching and sorting (n=84): time 0.004106/0.5969, allocations: 1.317 MB / 1.458 GB, free: 7.773 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.597, allocations: 192.9 kB / 1.458 GB, free: 7.543 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.598, allocations: 0.6607 MB / 1.459 GB, free: 6.871 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.306e-05/0.5981, allocations: 45.7 kB / 1.459 GB, free: 6.82 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.5985, allocations: 448.9 kB / 1.459 GB, free: 6.375 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.5988, allocations: 285.6 kB / 1.46 GB, free: 6.094 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.599, allocations: 150.6 kB / 1.46 GB, free: 5.938 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.5992, allocations: 390.7 kB / 1.46 GB, free: 5.547 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007585/0.6, allocations: 305.8 kB / 1.461 GB, free: 5.25 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.6008, allocations: 414.4 kB / 1.461 GB, free: 4.82 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.6024, allocations: 0.6906 MB / 1.462 GB, free: 4.117 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.6024, allocations: 0 / 1.462 GB, free: 4.117 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002523/0.605, allocations: 0.9271 MB / 1.463 GB, free: 3.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.605, allocations: 8 kB / 1.463 GB, free: 3.172 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.605, allocations: 64 / 1.463 GB, free: 3.172 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006505/0.6056, allocations: 88.86 kB / 1.463 GB, free: 3.082 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/0.6065, allocations: 179.7 kB / 1.463 GB, free: 2.906 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.6089, allocations: 1.526 MB / 1.464 GB, free: 1.262 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.61, allocations: 119.5 kB / 1.464 GB, free: 1.145 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/0.6101, allocations: 35.92 kB / 1.464 GB, free: 1.109 MB / 1.154 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.0005478/0.6106, allocations: 273.6 kB / 1.465 GB, free: 0.832 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.6108, allocations: 87.44 kB / 1.465 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.6138, allocations: 1.206 MB / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.6139, allocations: 8 kB / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.6139, allocations: 0 / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.6139, allocations: 7.984 kB / 1.466 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/0.6181, allocations: 2.139 MB / 1.468 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.6181, allocations: 0 / 1.468 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.6189, allocations: 171.8 kB / 1.468 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/0.6194, allocations: 80.72 kB / 1.468 GB, free: 13.06 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/0.6194, allocations: 27.98 kB / 1.468 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.6215, allocations: 1.559 MB / 1.47 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6215, allocations: 0 / 1.47 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.6242, allocations: 1.123 MB / 1.471 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/0.6248, allocations: 215 kB / 1.471 GB, free: 10 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.6249, allocations: 19.95 kB / 1.471 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008087/0.6257, allocations: 83.91 kB / 1.471 GB, free: 9.902 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.6259, allocations: 80.8 kB / 1.471 GB, free: 9.824 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.626, allocations: 39.97 kB / 1.471 GB, free: 9.785 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006721/0.6266, allocations: 487 kB / 1.472 GB, free: 9.316 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6266, allocations: 4 kB / 1.472 GB, free: 9.312 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009492/0.6276, allocations: 335.1 kB / 1.472 GB, free: 8.984 MB / 1.17 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.004849/0.6324, allocations: 2.183 MB / 1.474 GB, free: 6.957 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002468/0.6349, allocations: 0.8899 MB / 1.475 GB, free: 6.055 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6349, allocations: 0 / 1.475 GB, free: 6.055 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.6362, allocations: 0.5509 MB / 1.476 GB, free: 5.492 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.6377, allocations: 313.7 kB / 1.476 GB, free: 5.203 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.6508, allocations: 6.84 MB / 1.483 GB, free: 14.21 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/0.6516, allocations: 1.047 MB / 1.484 GB, free: 13.13 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001033/0.6526, allocations: 287 kB / 1.484 GB, free: 12.84 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006524/0.6533, allocations: 427.2 kB / 1.484 GB, free: 12.43 MB / 1.186 GB Notification: Performance of SimCode: time 9.62e-07/0.6533, allocations: 0 / 1.484 GB, free: 12.43 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06763/0.7209, allocations: 23.65 MB / 1.507 GB, free: 5.031 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.36, allocations: 0 / 1.507 GB, free: 5.031 MB / 1.201 GB " [Timeout remaining time 285] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.389957113999117]