Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001595/0.001595, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002093/0.002093, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_12_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.002097/0.002097, allocations: 68.89 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007566/0.3645, allocations: 5.222 MB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.5553, allocations: 154 MB / 1.476 GB, free: 3.469 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.5563, allocations: 23.81 kB / 1.476 GB, free: 3.445 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00094/0.5573, allocations: 206.1 kB / 1.477 GB, free: 3.242 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.56, allocations: 0.589 MB / 1.477 GB, free: 2.656 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.5628, allocations: 0.88 MB / 1.478 GB, free: 1.781 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002348/0.5652, allocations: 1.471 MB / 1.479 GB, free: 312 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.5663, allocations: 493.5 kB / 1.48 GB, free: 15.79 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.5673, allocations: 0.5412 MB / 1.48 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009565/0.5683, allocations: 0.5679 MB / 1.481 GB, free: 14.68 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003314/0.5686, allocations: 128 kB / 1.481 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.5699, allocations: 0.5191 MB / 1.482 GB, free: 14.04 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.5703, allocations: 330.9 kB / 1.482 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008992/0.5712, allocations: 0.6219 MB / 1.483 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.5743, allocations: 1.809 MB / 1.484 GB, free: 11.27 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.5743, allocations: 0 / 1.484 GB, free: 11.27 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5743, allocations: 0 / 1.484 GB, free: 11.27 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.54e-05/0.5744, allocations: 0 / 1.484 GB, free: 11.27 MB / 1.186 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.003972/0.5783, allocations: 1.576 MB / 1.486 GB, free: 9.641 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5784, allocations: 15.98 kB / 1.486 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002909/0.5787, allocations: 152.2 kB / 1.486 GB, free: 9.469 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.5813, allocations: 371.8 kB / 1.486 GB, free: 9.105 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.583, allocations: 0.8057 MB / 1.487 GB, free: 8.258 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.583, allocations: 73.98 kB / 1.487 GB, free: 8.184 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.5832, allocations: 95.94 kB / 1.487 GB, free: 8.09 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.5855, allocations: 1.077 MB / 1.488 GB, free: 6.977 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.5855, allocations: 0 / 1.488 GB, free: 6.977 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.5857, allocations: 40 kB / 1.488 GB, free: 6.938 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.5857, allocations: 24 kB / 1.488 GB, free: 6.914 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.5884, allocations: 1.276 MB / 1.49 GB, free: 5.633 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005621/0.594, allocations: 3.068 MB / 1.493 GB, free: 2.414 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.5969, allocations: 0.977 MB / 1.494 GB, free: 1.418 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008685/0.5978, allocations: 334.6 kB / 1.494 GB, free: 1.09 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.362e-05/0.5978, allocations: 42.47 kB / 1.494 GB, free: 1.051 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.5992, allocations: 0.5471 MB / 1.494 GB, free: 492 kB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.885e-06/0.5992, allocations: 0 / 1.494 GB, free: 492 kB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.004466/0.6036, allocations: 1.392 MB / 1.496 GB, free: 15.06 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.6038, allocations: 192.9 kB / 1.496 GB, free: 14.83 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.6049, allocations: 0.6607 MB / 1.497 GB, free: 14.16 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.605, allocations: 41.7 kB / 1.497 GB, free: 14.12 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.6055, allocations: 445 kB / 1.497 GB, free: 13.68 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.6058, allocations: 289.5 kB / 1.497 GB, free: 13.39 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.6061, allocations: 154.6 kB / 1.498 GB, free: 13.23 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.6063, allocations: 386.8 kB / 1.498 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008371/0.6071, allocations: 305.8 kB / 1.498 GB, free: 12.55 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009493/0.6081, allocations: 418.5 kB / 1.499 GB, free: 12.11 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.6098, allocations: 0.6906 MB / 1.499 GB, free: 11.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6098, allocations: 0 / 1.499 GB, free: 11.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002673/0.6125, allocations: 0.9311 MB / 1.5 GB, free: 10.47 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.6125, allocations: 4 kB / 1.5 GB, free: 10.47 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.6125, allocations: 4 kB / 1.5 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.6132, allocations: 80.86 kB / 1.5 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000853/0.614, allocations: 179.7 kB / 1.5 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.6164, allocations: 1.638 MB / 1.502 GB, free: 8.418 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009594/0.6174, allocations: 118.2 kB / 1.502 GB, free: 8.305 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.6175, allocations: 27.98 kB / 1.502 GB, free: 8.277 MB / 1.201 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.000578/0.6181, allocations: 275.1 kB / 1.502 GB, free: 8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.6183, allocations: 91.44 kB / 1.503 GB, free: 7.91 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.6217, allocations: 1.21 MB / 1.504 GB, free: 6.68 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.6217, allocations: 12 kB / 1.504 GB, free: 6.668 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6217, allocations: 0 / 1.504 GB, free: 6.668 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.6218, allocations: 3.984 kB / 1.504 GB, free: 6.664 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004761/0.6265, allocations: 2.16 MB / 1.506 GB, free: 4.441 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6265, allocations: 4 kB / 1.506 GB, free: 4.438 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.6273, allocations: 175.7 kB / 1.506 GB, free: 4.266 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.6278, allocations: 76.78 kB / 1.506 GB, free: 4.188 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/0.6279, allocations: 23.98 kB / 1.506 GB, free: 4.164 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.6301, allocations: 1.658 MB / 1.508 GB, free: 2.363 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6301, allocations: 0 / 1.508 GB, free: 2.363 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.6329, allocations: 1.131 MB / 1.509 GB, free: 1.211 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.6334, allocations: 292.1 kB / 1.509 GB, free: 0.9062 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.6336, allocations: 24.06 kB / 1.509 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009062/0.6345, allocations: 83.91 kB / 1.509 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.6347, allocations: 72.84 kB / 1.509 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/0.6348, allocations: 39.97 kB / 1.509 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007567/0.6356, allocations: 487 kB / 1.51 GB, free: 228 kB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6356, allocations: 0 / 1.51 GB, free: 228 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.001122/0.6367, allocations: 343.1 kB / 1.51 GB, free: 15.88 MB / 1.217 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.005258/0.6419, allocations: 2.182 MB / 1.512 GB, free: 13.86 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.6444, allocations: 0.8899 MB / 1.513 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6444, allocations: 0 / 1.513 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.6458, allocations: 0.5587 MB / 1.514 GB, free: 12.39 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.6472, allocations: 304.1 kB / 1.514 GB, free: 12.11 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.6613, allocations: 6.839 MB / 1.521 GB, free: 5.117 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008918/0.6622, allocations: 1.055 MB / 1.522 GB, free: 4.031 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009863/0.6632, allocations: 283 kB / 1.522 GB, free: 3.75 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/0.6639, allocations: 435.2 kB / 1.522 GB, free: 3.324 MB / 1.217 GB Notification: Performance of SimCode: time 1.232e-06/0.6639, allocations: 0 / 1.522 GB, free: 3.324 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07178/0.7357, allocations: 23.05 MB / 1.545 GB, free: 12.56 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.12, allocations: 15.34 kB / 1.545 GB, free: 12.55 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.201685900101438]