Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001528/0.001528, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001724/0.001724, allocations: 218.7 kB / 23.04 MB, free: 5.074 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.794/2.794, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001986/0.001986, allocations: 63.77 kB / 1.118 GB, free: 40.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 169.9 MB / 1.284 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007135/0.3193, allocations: 4.914 MB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1775/0.4968, allocations: 154.1 MB / 1.439 GB, free: 12.13 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009147/0.4978, allocations: 19.88 kB / 1.439 GB, free: 12.11 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008304/0.4986, allocations: 206.1 kB / 1.44 GB, free: 11.91 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.5009, allocations: 0.5577 MB / 1.44 GB, free: 11.35 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.5033, allocations: 0.8861 MB / 1.441 GB, free: 10.47 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.5054, allocations: 1.409 MB / 1.442 GB, free: 9.051 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000951/0.5063, allocations: 417.8 kB / 1.443 GB, free: 8.617 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009441/0.5073, allocations: 0.5061 MB / 1.443 GB, free: 8.109 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000885/0.5082, allocations: 0.5116 MB / 1.444 GB, free: 7.598 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002707/0.5084, allocations: 120 kB / 1.444 GB, free: 7.48 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.5096, allocations: 0.5152 MB / 1.444 GB, free: 6.965 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.51, allocations: 303 kB / 1.445 GB, free: 6.668 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.5106, allocations: 0.5636 MB / 1.445 GB, free: 6.102 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.5129, allocations: 1.697 MB / 1.447 GB, free: 4.398 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5129, allocations: 3.984 kB / 1.447 GB, free: 4.395 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5129, allocations: 0 / 1.447 GB, free: 4.395 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.53e-05/0.5129, allocations: 0 / 1.447 GB, free: 4.395 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002681/0.5156, allocations: 1.411 MB / 1.448 GB, free: 2.949 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5156, allocations: 16.03 kB / 1.448 GB, free: 2.934 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.478e-05/0.5157, allocations: 26.19 kB / 1.448 GB, free: 2.906 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.5158, allocations: 131.4 kB / 1.448 GB, free: 2.77 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.5174, allocations: 240 kB / 1.449 GB, free: 2.535 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.5188, allocations: 0.7178 MB / 1.449 GB, free: 1.793 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.5188, allocations: 69.98 kB / 1.449 GB, free: 1.727 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.5189, allocations: 76 kB / 1.45 GB, free: 1.652 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.5206, allocations: 0.9223 MB / 1.45 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.5206, allocations: 0 / 1.45 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/0.5207, allocations: 39.88 kB / 1.45 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.5207, allocations: 20 kB / 1.45 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.5225, allocations: 1.116 MB / 1.452 GB, free: 15.51 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.004275/0.5268, allocations: 2.666 MB / 1.454 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.5283, allocations: 0.7655 MB / 1.455 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.5289, allocations: 278.7 kB / 1.455 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-05/0.5289, allocations: 28.61 kB / 1.455 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008816/0.5298, allocations: 0.4902 MB / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of pre-optimization done (n=79): time 2.525e-06/0.5298, allocations: 0 / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=79): time 0.003123/0.5329, allocations: 1.123 MB / 1.457 GB, free: 10.01 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.5331, allocations: 188.6 kB / 1.457 GB, free: 9.785 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008769/0.5339, allocations: 0.6567 MB / 1.458 GB, free: 9.125 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/0.534, allocations: 37.7 kB / 1.458 GB, free: 9.082 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.5344, allocations: 405 kB / 1.458 GB, free: 8.68 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.5346, allocations: 269.7 kB / 1.458 GB, free: 8.414 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.5348, allocations: 142.6 kB / 1.458 GB, free: 8.266 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.535, allocations: 390.7 kB / 1.459 GB, free: 7.875 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.5355, allocations: 249.9 kB / 1.459 GB, free: 7.633 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.5361, allocations: 350.6 kB / 1.459 GB, free: 7.266 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5372, allocations: 0.5838 MB / 1.46 GB, free: 6.668 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5372, allocations: 4.062 kB / 1.46 GB, free: 6.664 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002017/0.5393, allocations: 0.8062 MB / 1.461 GB, free: 5.848 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5393, allocations: 4 kB / 1.461 GB, free: 5.844 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5393, allocations: 7.875 kB / 1.461 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.5399, allocations: 84.86 kB / 1.461 GB, free: 5.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.5405, allocations: 151.8 kB / 1.461 GB, free: 5.602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.5427, allocations: 1.543 MB / 1.462 GB, free: 3.938 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/0.5435, allocations: 94.86 kB / 1.463 GB, free: 3.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.5436, allocations: 23.98 kB / 1.463 GB, free: 3.824 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 (85): * Single equations (assignments): 84 * 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.0005377/0.5441, allocations: 269.6 kB / 1.463 GB, free: 3.551 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.5444, allocations: 95.42 kB / 1.463 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.5468, allocations: 1.062 MB / 1.464 GB, free: 2.375 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5468, allocations: 11.94 kB / 1.464 GB, free: 2.363 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5468, allocations: 0 / 1.464 GB, free: 2.363 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5468, allocations: 7.922 kB / 1.464 GB, free: 2.355 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.5506, allocations: 1.951 MB / 1.466 GB, free: 364 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5506, allocations: 8 kB / 1.466 GB, free: 356 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.5512, allocations: 143.8 kB / 1.466 GB, free: 212 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.5516, allocations: 68.78 kB / 1.466 GB, free: 140 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.5517, allocations: 27.98 kB / 1.466 GB, free: 112 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.5537, allocations: 1.566 MB / 1.468 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5537, allocations: 3.938 kB / 1.468 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.5559, allocations: 0.9985 MB / 1.469 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.5564, allocations: 207 kB / 1.469 GB, free: 13.2 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.5566, allocations: 20 kB / 1.469 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/0.5573, allocations: 59.92 kB / 1.469 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.5574, allocations: 76.94 kB / 1.469 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.5575, allocations: 35.97 kB / 1.469 GB, free: 13.01 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007008/0.5582, allocations: 479 kB / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5582, allocations: 0 / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000971/0.5592, allocations: 323.1 kB / 1.47 GB, free: 12.23 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 (90): * Single equations (assignments): 84 * 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.004306/0.5635, allocations: 2.048 MB / 1.472 GB, free: 10.33 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.5653, allocations: 0.7649 MB / 1.473 GB, free: 9.555 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5653, allocations: 0 / 1.473 GB, free: 9.555 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009913/0.5663, allocations: 0.4925 MB / 1.473 GB, free: 9.051 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.5677, allocations: 314.1 kB / 1.473 GB, free: 8.77 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.579, allocations: 6.278 MB / 1.479 GB, free: 2.336 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.5798, allocations: 1.021 MB / 1.48 GB, free: 1.285 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008731/0.5806, allocations: 270.7 kB / 1.481 GB, free: 1.016 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/0.5813, allocations: 383.2 kB / 1.481 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of SimCode: time 9.12e-07/0.5813, allocations: 0 / 1.481 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/0.6379, allocations: 22.55 MB / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.31, allocations: 7.562 kB / 1.503 GB, free: 10.34 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.088153608958237]