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.001956/0.001956, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.0029/0.0029, allocations: 214.6 kB / 23.03 MB, free: 4.949 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.052/3.052, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",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.001968/0.001968, allocations: 64.61 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3149, allocations: 176.1 MB / 1.327 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007714/0.3226, allocations: 4.688 MB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.174/0.4966, allocations: 132.6 MB / 1.461 GB, free: 7.664 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.4977, allocations: 23.81 kB / 1.461 GB, free: 7.641 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007424/0.4985, allocations: 206.1 kB / 1.461 GB, free: 7.438 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.5007, allocations: 0.5882 MB / 1.461 GB, free: 6.852 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.5028, allocations: 0.8787 MB / 1.462 GB, free: 5.977 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.5047, allocations: 1.479 MB / 1.464 GB, free: 4.492 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.5055, allocations: 482.3 kB / 1.464 GB, free: 3.992 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007749/0.5063, allocations: 0.5489 MB / 1.465 GB, free: 3.441 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006914/0.507, allocations: 0.5601 MB / 1.465 GB, free: 2.879 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.5072, allocations: 132 kB / 1.465 GB, free: 2.75 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.5082, allocations: 0.5113 MB / 1.466 GB, free: 2.238 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.5085, allocations: 330.9 kB / 1.466 GB, free: 1.914 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.5091, allocations: 0.5093 MB / 1.467 GB, free: 1.402 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.5118, allocations: 1.821 MB / 1.469 GB, free: 15.57 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5118, allocations: 0 / 1.469 GB, free: 15.57 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5118, allocations: 0 / 1.469 GB, free: 15.57 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.5118, allocations: 0 / 1.469 GB, free: 15.57 MB / 1.17 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.003018/0.5149, allocations: 1.497 MB / 1.47 GB, free: 14.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5149, allocations: 8.031 kB / 1.47 GB, free: 14.04 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.002e-05/0.5149, allocations: 26.19 kB / 1.47 GB, free: 14.01 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.5151, allocations: 156.3 kB / 1.47 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.5177, allocations: 367.8 kB / 1.471 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.5192, allocations: 0.7412 MB / 1.471 GB, free: 12.72 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.5192, allocations: 66 kB / 1.471 GB, free: 12.66 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.5194, allocations: 99.94 kB / 1.471 GB, free: 12.56 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.5217, allocations: 1.321 MB / 1.473 GB, free: 11.14 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.5217, allocations: 0 / 1.473 GB, free: 11.14 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.5218, allocations: 44 kB / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.5219, allocations: 24 kB / 1.473 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.5243, allocations: 1.268 MB / 1.474 GB, free: 9.805 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.5291, allocations: 2.405 MB / 1.476 GB, free: 7.336 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.5317, allocations: 0.9066 MB / 1.477 GB, free: 6.418 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007949/0.5325, allocations: 340.5 kB / 1.478 GB, free: 6.086 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.705e-05/0.5325, allocations: 24.62 kB / 1.478 GB, free: 6.062 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.5339, allocations: 0.6515 MB / 1.478 GB, free: 5.371 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 3.396e-06/0.5339, allocations: 0 / 1.478 GB, free: 5.371 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.004365/0.5382, allocations: 1.32 MB / 1.48 GB, free: 4.043 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.5384, allocations: 188.9 kB / 1.48 GB, free: 3.816 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.5396, allocations: 0.6646 MB / 1.48 GB, free: 3.145 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/0.5397, allocations: 41.7 kB / 1.48 GB, free: 3.098 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.5403, allocations: 444.9 kB / 1.481 GB, free: 2.656 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.5406, allocations: 285.6 kB / 1.481 GB, free: 2.375 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.5409, allocations: 150.6 kB / 1.481 GB, free: 2.223 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.5412, allocations: 390.8 kB / 1.482 GB, free: 1.832 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007611/0.542, allocations: 309.7 kB / 1.482 GB, free: 1.527 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.5429, allocations: 0.5303 MB / 1.482 GB, free: 0.9414 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.5445, allocations: 0.6906 MB / 1.483 GB, free: 248 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5445, allocations: 4 kB / 1.483 GB, free: 244 kB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002531/0.5471, allocations: 0.935 MB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5471, allocations: 4 kB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5471, allocations: 0 / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.5477, allocations: 84.83 kB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/0.5485, allocations: 171.8 kB / 1.484 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.5509, allocations: 1.523 MB / 1.486 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/0.5518, allocations: 119.5 kB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.5518, allocations: 31.97 kB / 1.486 GB, free: 13.23 MB / 1.186 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.0005124/0.5524, allocations: 269.6 kB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.5526, allocations: 87.44 kB / 1.486 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.5556, allocations: 1.214 MB / 1.487 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.5556, allocations: 11.98 kB / 1.487 GB, free: 11.63 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5556, allocations: 4 kB / 1.487 GB, free: 11.63 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.5556, allocations: 3.984 kB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.5596, allocations: 2.003 MB / 1.489 GB, free: 9.574 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5596, allocations: 0 / 1.489 GB, free: 9.574 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.5603, allocations: 171.8 kB / 1.49 GB, free: 9.406 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/0.5608, allocations: 68.8 kB / 1.49 GB, free: 9.336 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/0.5609, allocations: 31.91 kB / 1.49 GB, free: 9.305 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.5628, allocations: 1.543 MB / 1.491 GB, free: 7.645 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5628, allocations: 0 / 1.491 GB, free: 7.645 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.5655, allocations: 1.131 MB / 1.492 GB, free: 6.492 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.566, allocations: 207.1 kB / 1.492 GB, free: 6.289 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.5661, allocations: 27.89 kB / 1.492 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008107/0.5669, allocations: 93.92 kB / 1.493 GB, free: 6.172 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.5671, allocations: 80.84 kB / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/0.5672, allocations: 39.97 kB / 1.493 GB, free: 6.055 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006683/0.5678, allocations: 491 kB / 1.493 GB, free: 5.578 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5678, allocations: 0 / 1.493 GB, free: 5.578 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009662/0.5688, allocations: 343.1 kB / 1.493 GB, free: 5.242 MB / 1.186 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.004885/0.5737, allocations: 2.224 MB / 1.496 GB, free: 3.195 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002214/0.5759, allocations: 0.8899 MB / 1.497 GB, free: 2.297 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5759, allocations: 4 kB / 1.497 GB, free: 2.293 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5771, allocations: 0.5509 MB / 1.497 GB, free: 1.73 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.5784, allocations: 306.2 kB / 1.497 GB, free: 1.457 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.5912, allocations: 6.833 MB / 1.504 GB, free: 10.47 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.5918, allocations: 470.3 kB / 1.504 GB, free: 9.977 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001029/0.5928, allocations: 283 kB / 1.505 GB, free: 9.695 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/0.5935, allocations: 431.2 kB / 1.505 GB, free: 9.273 MB / 1.201 GB Notification: Performance of SimCode: time 7.52e-07/0.5935, allocations: 0 / 1.505 GB, free: 9.273 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06031/0.6538, allocations: 24.48 MB / 1.529 GB, free: 1.152 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/15.92, allocations: 23.88 kB / 1.529 GB, free: 1.129 MB / 1.217 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 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.mat","/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: 22.683773355092853]