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.001328/0.001328, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001652/0.001652, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 8.008 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.833/2.833, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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.001987/0.001987, allocations: 63.7 kB / 1.117 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.0138/0.33, allocations: 5.267 MB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2191/0.5491, allocations: 154.2 MB / 1.439 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.5501, allocations: 23.81 kB / 1.439 GB, free: 11.52 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008566/0.5509, allocations: 214 kB / 1.439 GB, free: 11.31 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.5532, allocations: 0.5927 MB / 1.44 GB, free: 10.72 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.5554, allocations: 0.8902 MB / 1.441 GB, free: 9.836 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.5575, allocations: 1.487 MB / 1.442 GB, free: 8.34 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000942/0.5585, allocations: 482.4 kB / 1.443 GB, free: 7.844 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008607/0.5593, allocations: 0.5528 MB / 1.443 GB, free: 7.289 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000931/0.5603, allocations: 0.564 MB / 1.444 GB, free: 6.723 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.5606, allocations: 128 kB / 1.444 GB, free: 6.598 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.5617, allocations: 0.5308 MB / 1.444 GB, free: 6.066 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.5621, allocations: 330.9 kB / 1.445 GB, free: 5.742 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006598/0.5628, allocations: 0.6102 MB / 1.445 GB, free: 5.129 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.5652, allocations: 1.809 MB / 1.447 GB, free: 3.312 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5652, allocations: 4 kB / 1.447 GB, free: 3.309 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5652, allocations: 4 kB / 1.447 GB, free: 3.305 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.5653, allocations: 0 / 1.447 GB, free: 3.305 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.003153/0.5684, allocations: 1.504 MB / 1.449 GB, free: 1.766 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.5685, allocations: 8.031 kB / 1.449 GB, free: 1.758 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.5687, allocations: 148.3 kB / 1.449 GB, free: 1.605 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.5713, allocations: 371.8 kB / 1.449 GB, free: 1.242 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.5728, allocations: 0.7413 MB / 1.45 GB, free: 484 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.671e-05/0.5728, allocations: 70 kB / 1.45 GB, free: 412 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.573, allocations: 96 kB / 1.45 GB, free: 316 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.5751, allocations: 1.07 MB / 1.451 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.5751, allocations: 0 / 1.451 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-05/0.5752, allocations: 40 kB / 1.451 GB, free: 15.16 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.5752, allocations: 24 kB / 1.451 GB, free: 15.14 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/0.5778, allocations: 1.268 MB / 1.452 GB, free: 13.87 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.005275/0.5831, allocations: 2.924 MB / 1.455 GB, free: 10.82 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.5858, allocations: 0.8973 MB / 1.456 GB, free: 9.926 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/0.5866, allocations: 334.6 kB / 1.456 GB, free: 9.598 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/0.5867, allocations: 38.47 kB / 1.456 GB, free: 9.559 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/0.5879, allocations: 0.5549 MB / 1.457 GB, free: 8.984 MB / 1.154 GB Notification: Performance of pre-optimization done (n=84): time 2.956e-06/0.5879, allocations: 0 / 1.457 GB, free: 8.984 MB / 1.154 GB Notification: Performance of matching and sorting (n=84): time 0.004143/0.5921, allocations: 1.313 MB / 1.458 GB, free: 7.668 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.5922, allocations: 204.8 kB / 1.458 GB, free: 7.426 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.5932, allocations: 0.6568 MB / 1.459 GB, free: 6.758 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.5933, allocations: 45.7 kB / 1.459 GB, free: 6.707 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004198/0.5937, allocations: 444.9 kB / 1.459 GB, free: 6.266 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.594, allocations: 281.6 kB / 1.46 GB, free: 5.988 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.5943, allocations: 162.6 kB / 1.46 GB, free: 5.82 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.5945, allocations: 386.7 kB / 1.46 GB, free: 5.434 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.5953, allocations: 305.8 kB / 1.461 GB, free: 5.137 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.5962, allocations: 418.5 kB / 1.461 GB, free: 4.699 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.5979, allocations: 0.6867 MB / 1.462 GB, free: 4 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.5979, allocations: 4 kB / 1.462 GB, free: 3.996 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002581/0.6004, allocations: 0.9272 MB / 1.463 GB, free: 3.062 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6005, allocations: 11.98 kB / 1.463 GB, free: 3.051 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6005, allocations: 0 / 1.463 GB, free: 3.051 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.6011, allocations: 80.81 kB / 1.463 GB, free: 2.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/0.602, allocations: 179.8 kB / 1.463 GB, free: 2.793 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.6043, allocations: 1.539 MB / 1.464 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008816/0.6052, allocations: 111.5 kB / 1.464 GB, free: 1.023 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.6053, allocations: 31.97 kB / 1.464 GB, free: 0.9922 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.0005258/0.6058, allocations: 265.7 kB / 1.465 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.606, allocations: 87.44 kB / 1.465 GB, free: 0.6367 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.6091, allocations: 1.21 MB / 1.466 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.6091, allocations: 11.94 kB / 1.466 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6091, allocations: 7.984 kB / 1.466 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.6092, allocations: 3.984 kB / 1.466 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.6135, allocations: 2.128 MB / 1.468 GB, free: 13.2 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6135, allocations: 7.984 kB / 1.468 GB, free: 13.19 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.6143, allocations: 171.8 kB / 1.468 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.6148, allocations: 72.78 kB / 1.468 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.6149, allocations: 31.97 kB / 1.468 GB, free: 12.92 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.6171, allocations: 1.551 MB / 1.47 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6171, allocations: 0 / 1.47 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.6203, allocations: 1.127 MB / 1.471 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.6208, allocations: 211 kB / 1.471 GB, free: 9.898 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.6209, allocations: 27.95 kB / 1.471 GB, free: 9.871 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.6217, allocations: 79.91 kB / 1.471 GB, free: 9.793 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.6219, allocations: 76.8 kB / 1.471 GB, free: 9.719 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/0.622, allocations: 39.97 kB / 1.471 GB, free: 9.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007073/0.6227, allocations: 491 kB / 1.472 GB, free: 9.207 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6227, allocations: 0 / 1.472 GB, free: 9.207 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009868/0.6237, allocations: 343.1 kB / 1.472 GB, free: 8.871 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.004898/0.6286, allocations: 2.183 MB / 1.474 GB, free: 6.844 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002312/0.6309, allocations: 0.8976 MB / 1.475 GB, free: 5.934 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6309, allocations: 0 / 1.475 GB, free: 5.934 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.6322, allocations: 0.5548 MB / 1.476 GB, free: 5.363 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.6335, allocations: 302.7 kB / 1.476 GB, free: 5.09 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.6464, allocations: 6.845 MB / 1.483 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.6472, allocations: 1.051 MB / 1.484 GB, free: 13.01 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009123/0.6481, allocations: 279 kB / 1.484 GB, free: 12.73 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/0.6488, allocations: 435.2 kB / 1.484 GB, free: 12.3 MB / 1.186 GB Notification: Performance of SimCode: time 9.12e-07/0.6488, allocations: 0 / 1.484 GB, free: 12.3 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08499/0.7338, allocations: 23.64 MB / 1.507 GB, free: 4.91 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.09, allocations: 0 / 1.507 GB, free: 4.91 MB / 1.201 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 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.mat","/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.983251725090668]