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.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.001653/0.001653, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002151/0.002151, allocations: 216 kB / 22.25 MB, free: 5.117 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.184/3.184, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002803/0.002803, allocations: 67.61 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3442, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007798/0.352, allocations: 5.277 MB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1899/0.5418, allocations: 154.2 MB / 1.509 GB, free: 8.398 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.5429, allocations: 23.81 kB / 1.509 GB, free: 8.375 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008867/0.5437, allocations: 214.1 kB / 1.509 GB, free: 8.164 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.5459, allocations: 0.5732 MB / 1.509 GB, free: 7.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.5482, allocations: 0.8913 MB / 1.51 GB, free: 6.703 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002254/0.5505, allocations: 1.487 MB / 1.512 GB, free: 5.207 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009631/0.5515, allocations: 482.3 kB / 1.512 GB, free: 4.707 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009418/0.5524, allocations: 0.549 MB / 1.513 GB, free: 4.156 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.5534, allocations: 0.564 MB / 1.513 GB, free: 3.59 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.5537, allocations: 132 kB / 1.513 GB, free: 3.461 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.5549, allocations: 0.523 MB / 1.514 GB, free: 2.938 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.5553, allocations: 323 kB / 1.514 GB, free: 2.621 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008562/0.5562, allocations: 0.618 MB / 1.515 GB, free: 2 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.559, allocations: 1.809 MB / 1.517 GB, free: 188 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.559, allocations: 0 / 1.517 GB, free: 188 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.593e-06/0.559, allocations: 0 / 1.517 GB, free: 188 kB / 1.201 GB Notification: Performance of Transformations before backend: time 6.6e-05/0.5591, allocations: 4 kB / 1.517 GB, free: 184 kB / 1.201 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.003965/0.563, allocations: 1.51 MB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5631, allocations: 12.03 kB / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000259/0.5633, allocations: 152.3 kB / 1.518 GB, free: 14.47 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.566, allocations: 367.8 kB / 1.519 GB, free: 14.11 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.5676, allocations: 0.7413 MB / 1.519 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.914e-05/0.5677, allocations: 74 kB / 1.519 GB, free: 13.27 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.5679, allocations: 92 kB / 1.519 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.5702, allocations: 1.077 MB / 1.52 GB, free: 12.06 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5702, allocations: 4 kB / 1.52 GB, free: 12.06 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.5703, allocations: 40 kB / 1.52 GB, free: 12.02 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.5703, allocations: 24 kB / 1.521 GB, free: 12 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.5729, allocations: 1.272 MB / 1.522 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005615/0.5785, allocations: 3.007 MB / 1.525 GB, free: 7.562 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.5812, allocations: 0.9014 MB / 1.526 GB, free: 6.652 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008437/0.5821, allocations: 338.6 kB / 1.526 GB, free: 6.32 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.815e-05/0.5822, allocations: 30.48 kB / 1.526 GB, free: 6.289 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.5835, allocations: 0.5589 MB / 1.526 GB, free: 5.711 MB / 1.217 GB Notification: Performance of pre-optimization done (n=84): time 3.777e-06/0.5835, allocations: 0 / 1.526 GB, free: 5.711 MB / 1.217 GB Notification: Performance of matching and sorting (n=84): time 0.004256/0.5877, allocations: 1.313 MB / 1.528 GB, free: 4.395 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.5879, allocations: 188.9 kB / 1.528 GB, free: 4.168 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.589, allocations: 0.6723 MB / 1.529 GB, free: 3.488 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.5891, allocations: 41.7 kB / 1.529 GB, free: 3.441 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/0.5895, allocations: 449 kB / 1.529 GB, free: 2.996 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.5898, allocations: 277.6 kB / 1.529 GB, free: 2.723 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.5901, allocations: 154.6 kB / 1.529 GB, free: 2.562 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.5903, allocations: 394.7 kB / 1.53 GB, free: 2.168 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/0.5912, allocations: 301.8 kB / 1.53 GB, free: 1.875 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009289/0.5921, allocations: 426.4 kB / 1.531 GB, free: 1.434 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.5938, allocations: 0.6866 MB / 1.531 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5938, allocations: 4 kB / 1.531 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002636/0.5965, allocations: 0.9194 MB / 1.532 GB, free: 15.8 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.5965, allocations: 4 kB / 1.532 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5965, allocations: 96 / 1.532 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.5972, allocations: 88.7 kB / 1.532 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.5981, allocations: 183.8 kB / 1.532 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.6005, allocations: 1.534 MB / 1.534 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000924/0.6014, allocations: 115.5 kB / 1.534 GB, free: 13.76 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.6015, allocations: 27.98 kB / 1.534 GB, free: 13.73 MB / 1.232 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.0005969/0.6021, allocations: 277.5 kB / 1.534 GB, free: 13.45 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.6024, allocations: 87.44 kB / 1.534 GB, free: 13.37 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.6057, allocations: 1.203 MB / 1.536 GB, free: 12.15 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.6057, allocations: 12 kB / 1.536 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6057, allocations: 7.938 kB / 1.536 GB, free: 12.13 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.6057, allocations: 7.969 kB / 1.536 GB, free: 12.12 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/0.6102, allocations: 2.124 MB / 1.538 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6102, allocations: 8 kB / 1.538 GB, free: 9.934 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.611, allocations: 171.8 kB / 1.538 GB, free: 9.766 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.6114, allocations: 76.78 kB / 1.538 GB, free: 9.688 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/0.6115, allocations: 23.98 kB / 1.538 GB, free: 9.664 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.6135, allocations: 1.555 MB / 1.539 GB, free: 7.992 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6135, allocations: 3.938 kB / 1.539 GB, free: 7.988 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.6163, allocations: 1.127 MB / 1.541 GB, free: 6.84 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005384/0.6168, allocations: 207 kB / 1.541 GB, free: 6.637 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.617, allocations: 23.94 kB / 1.541 GB, free: 6.613 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/0.6178, allocations: 89.62 kB / 1.541 GB, free: 6.527 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.618, allocations: 76.8 kB / 1.541 GB, free: 6.453 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.4e-05/0.6181, allocations: 39.97 kB / 1.541 GB, free: 6.414 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007151/0.6188, allocations: 491 kB / 1.541 GB, free: 5.941 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6188, allocations: 0 / 1.541 GB, free: 5.941 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001003/0.6198, allocations: 339.1 kB / 1.542 GB, free: 5.609 MB / 1.232 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.004919/0.6247, allocations: 2.179 MB / 1.544 GB, free: 3.582 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.627, allocations: 0.8861 MB / 1.545 GB, free: 2.684 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.627, allocations: 0 / 1.545 GB, free: 2.684 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.6283, allocations: 0.5587 MB / 1.545 GB, free: 2.113 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.6297, allocations: 321.8 kB / 1.546 GB, free: 1.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.6437, allocations: 6.827 MB / 1.552 GB, free: 10.84 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/0.6445, allocations: 1.051 MB / 1.553 GB, free: 9.754 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009954/0.6455, allocations: 282.9 kB / 1.554 GB, free: 9.473 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.6462, allocations: 431.2 kB / 1.554 GB, free: 9.055 MB / 1.248 GB Notification: Performance of SimCode: time 9.42e-07/0.6462, allocations: 0 / 1.554 GB, free: 9.055 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06883/0.715, allocations: 23.64 MB / 1.577 GB, free: 1.648 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.09, allocations: 0 / 1.577 GB, free: 1.648 MB / 1.264 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.85014536208473]