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.001699/0.001699, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002221/0.002221, allocations: 214.9 kB / 22.25 MB, free: 4.852 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.789 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.785/2.785, allocations: 476 MB / 0.7699 GB, free: 4.719 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.002122/0.002122, allocations: 61.06 kB / 1.117 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3217, allocations: 169.9 MB / 1.283 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007258/0.3289, allocations: 4.382 MB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.5001, allocations: 132.7 MB / 1.416 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.5013, allocations: 23.81 kB / 1.416 GB, free: 10.64 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009376/0.5022, allocations: 202.1 kB / 1.417 GB, free: 10.44 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.5047, allocations: 0.5623 MB / 1.417 GB, free: 9.879 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.5071, allocations: 0.8572 MB / 1.418 GB, free: 9.027 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001999/0.5091, allocations: 1.413 MB / 1.419 GB, free: 7.605 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009412/0.5101, allocations: 401.8 kB / 1.42 GB, free: 7.188 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008934/0.511, allocations: 0.5022 MB / 1.42 GB, free: 6.684 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008553/0.5118, allocations: 465.8 kB / 1.421 GB, free: 6.227 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.5122, allocations: 120 kB / 1.421 GB, free: 6.109 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.5134, allocations: 491.6 kB / 1.421 GB, free: 5.629 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.5138, allocations: 307 kB / 1.422 GB, free: 5.328 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007384/0.5145, allocations: 469.7 kB / 1.422 GB, free: 4.867 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.5171, allocations: 1.705 MB / 1.424 GB, free: 3.156 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5171, allocations: 4 kB / 1.424 GB, free: 3.152 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5171, allocations: 0 / 1.424 GB, free: 3.152 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.751e-05/0.5172, allocations: 0 / 1.424 GB, free: 3.152 MB / 1.123 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.003375/0.5206, allocations: 1.415 MB / 1.425 GB, free: 1.707 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5206, allocations: 8.031 kB / 1.425 GB, free: 1.699 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.5208, allocations: 139.4 kB / 1.425 GB, free: 1.555 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.5226, allocations: 236 kB / 1.425 GB, free: 1.324 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.5242, allocations: 0.7103 MB / 1.426 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-05/0.5243, allocations: 69.94 kB / 1.426 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.5244, allocations: 76 kB / 1.426 GB, free: 456 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.5263, allocations: 1.177 MB / 1.427 GB, free: 15.16 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.5264, allocations: 4 kB / 1.427 GB, free: 15.16 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.5265, allocations: 35.98 kB / 1.427 GB, free: 15.12 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.5265, allocations: 23.94 kB / 1.427 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.5284, allocations: 1.065 MB / 1.429 GB, free: 14.04 MB / 1.139 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.00436/0.5328, allocations: 2.232 MB / 1.431 GB, free: 11.74 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.5344, allocations: 0.7782 MB / 1.431 GB, free: 10.95 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.535, allocations: 278.7 kB / 1.432 GB, free: 10.68 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.498e-05/0.535, allocations: 28.62 kB / 1.432 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.536, allocations: 0.5816 MB / 1.432 GB, free: 10.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 3.336e-06/0.536, allocations: 0 / 1.432 GB, free: 10.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.003282/0.5393, allocations: 1.123 MB / 1.433 GB, free: 8.895 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.5395, allocations: 196.6 kB / 1.434 GB, free: 8.66 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.5404, allocations: 0.645 MB / 1.434 GB, free: 8.004 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.319e-05/0.5405, allocations: 45.7 kB / 1.434 GB, free: 7.953 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.5409, allocations: 405 kB / 1.435 GB, free: 7.551 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.5411, allocations: 269.7 kB / 1.435 GB, free: 7.285 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.5414, allocations: 150.5 kB / 1.435 GB, free: 7.129 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.5416, allocations: 390.7 kB / 1.435 GB, free: 6.738 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.5421, allocations: 241.9 kB / 1.436 GB, free: 6.504 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/0.5429, allocations: 495 kB / 1.436 GB, free: 5.965 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.5441, allocations: 0.5799 MB / 1.437 GB, free: 5.371 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5441, allocations: 64 / 1.437 GB, free: 5.371 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002041/0.5461, allocations: 0.8063 MB / 1.437 GB, free: 4.555 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5461, allocations: 8 kB / 1.437 GB, free: 4.547 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5461, allocations: 0 / 1.437 GB, free: 4.547 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.5468, allocations: 88.75 kB / 1.438 GB, free: 4.457 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.5474, allocations: 147.8 kB / 1.438 GB, free: 4.312 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.5497, allocations: 1.537 MB / 1.439 GB, free: 2.656 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.5504, allocations: 83.61 kB / 1.439 GB, free: 2.574 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.5504, allocations: 27.98 kB / 1.439 GB, free: 2.547 MB / 1.139 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.0004824/0.5509, allocations: 273.5 kB / 1.44 GB, free: 2.27 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.5512, allocations: 87.44 kB / 1.44 GB, free: 2.184 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.5537, allocations: 1.066 MB / 1.441 GB, free: 1.105 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5537, allocations: 11.94 kB / 1.441 GB, free: 1.094 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5537, allocations: 0 / 1.441 GB, free: 1.094 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5537, allocations: 11.97 kB / 1.441 GB, free: 1.082 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/0.5574, allocations: 1.811 MB / 1.442 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5574, allocations: 8 kB / 1.443 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.558, allocations: 151.7 kB / 1.443 GB, free: 15.06 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.5585, allocations: 68.78 kB / 1.443 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.5586, allocations: 23.98 kB / 1.443 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.5606, allocations: 1.562 MB / 1.444 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5606, allocations: 0 / 1.444 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.5629, allocations: 1.002 MB / 1.445 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.5634, allocations: 207 kB / 1.445 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.5636, allocations: 19.98 kB / 1.445 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/0.5643, allocations: 63.45 kB / 1.446 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.5645, allocations: 72.86 kB / 1.446 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-05/0.5646, allocations: 39.91 kB / 1.446 GB, free: 11.87 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000754/0.5653, allocations: 471 kB / 1.446 GB, free: 11.41 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5653, allocations: 8 kB / 1.446 GB, free: 11.41 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009987/0.5663, allocations: 319.2 kB / 1.446 GB, free: 11.09 MB / 1.154 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.004583/0.5709, allocations: 2.08 MB / 1.448 GB, free: 9.195 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.5727, allocations: 0.7689 MB / 1.449 GB, free: 8.414 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5727, allocations: 4 kB / 1.449 GB, free: 8.41 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5737, allocations: 496.2 kB / 1.45 GB, free: 7.914 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.5752, allocations: 310.7 kB / 1.45 GB, free: 7.633 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.5871, allocations: 6.283 MB / 1.456 GB, free: 1.199 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.5877, allocations: 435.8 kB / 1.456 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009117/0.5886, allocations: 258.7 kB / 1.457 GB, free: 492 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.5892, allocations: 383.3 kB / 1.457 GB, free: 108 kB / 1.154 GB Notification: Performance of SimCode: time 1.001e-06/0.5892, allocations: 0 / 1.457 GB, free: 108 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06865/0.6579, allocations: 23.51 MB / 1.48 GB, free: 8.918 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.96, allocations: 10.28 kB / 1.48 GB, free: 8.914 MB / 1.186 GB " [Timeout remaining time 286] (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: 20.45782704418525]