Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001282/0.001282, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001394/0.001394, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.148/3.148, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.001942/0.001942, allocations: 62.61 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3391, allocations: 179 MB / 1.345 GB, free: 0 / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006542/0.3457, allocations: 4.393 MB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.5062, allocations: 132.6 MB / 1.479 GB, free: 6.473 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008948/0.5071, allocations: 19.88 kB / 1.479 GB, free: 6.453 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.5079, allocations: 198.2 kB / 1.479 GB, free: 6.258 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.51, allocations: 0.5605 MB / 1.48 GB, free: 5.699 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.5124, allocations: 0.8563 MB / 1.481 GB, free: 4.848 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.5145, allocations: 1.409 MB / 1.482 GB, free: 3.43 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009247/0.5154, allocations: 425.8 kB / 1.482 GB, free: 2.992 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008906/0.5163, allocations: 0.5022 MB / 1.483 GB, free: 2.488 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.5171, allocations: 0.5057 MB / 1.483 GB, free: 1.98 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.5175, allocations: 120 kB / 1.484 GB, free: 1.863 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.5187, allocations: 0.4957 MB / 1.484 GB, free: 1.367 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.5191, allocations: 311 kB / 1.484 GB, free: 1.062 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006609/0.5198, allocations: 461.7 kB / 1.485 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.5223, allocations: 1.712 MB / 1.486 GB, free: 14.89 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5223, allocations: 0 / 1.486 GB, free: 14.89 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5223, allocations: 0 / 1.486 GB, free: 14.89 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.5223, allocations: 0 / 1.486 GB, free: 14.89 MB / 1.186 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.002721/0.525, allocations: 1.407 MB / 1.488 GB, free: 13.45 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5251, allocations: 12.03 kB / 1.488 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.348e-05/0.5251, allocations: 22.19 kB / 1.488 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.5253, allocations: 131.4 kB / 1.488 GB, free: 13.28 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.5269, allocations: 248 kB / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.5283, allocations: 0.7178 MB / 1.489 GB, free: 12.29 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.5284, allocations: 58 kB / 1.489 GB, free: 12.23 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.5285, allocations: 87.98 kB / 1.489 GB, free: 12.15 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.5304, allocations: 1.177 MB / 1.49 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.5304, allocations: 0 / 1.49 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.964e-05/0.5305, allocations: 36 kB / 1.49 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.5305, allocations: 20 kB / 1.49 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.5324, allocations: 1.108 MB / 1.491 GB, free: 9.707 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.5367, allocations: 2.24 MB / 1.493 GB, free: 7.402 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.5383, allocations: 0.7591 MB / 1.494 GB, free: 6.637 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.5388, allocations: 278.7 kB / 1.494 GB, free: 6.359 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/0.5389, allocations: 20.64 kB / 1.495 GB, free: 6.34 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.5399, allocations: 0.604 MB / 1.495 GB, free: 5.691 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.975e-06/0.5399, allocations: 0 / 1.495 GB, free: 5.691 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003255/0.5432, allocations: 1.115 MB / 1.496 GB, free: 4.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.5433, allocations: 188.6 kB / 1.496 GB, free: 4.344 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009746/0.5443, allocations: 0.6644 MB / 1.497 GB, free: 3.668 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.352e-05/0.5443, allocations: 45.58 kB / 1.497 GB, free: 3.617 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.5447, allocations: 397.1 kB / 1.497 GB, free: 3.223 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.545, allocations: 273.7 kB / 1.498 GB, free: 2.953 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.5452, allocations: 142.6 kB / 1.498 GB, free: 2.809 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5455, allocations: 390.7 kB / 1.498 GB, free: 2.418 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.546, allocations: 249.9 kB / 1.498 GB, free: 2.172 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.5467, allocations: 483.1 kB / 1.499 GB, free: 1.645 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.5478, allocations: 0.5799 MB / 1.499 GB, free: 1.055 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5478, allocations: 0 / 1.499 GB, free: 1.055 MB / 1.186 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002076/0.5499, allocations: 0.8062 MB / 1.5 GB, free: 240 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.5499, allocations: 4 kB / 1.5 GB, free: 236 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5499, allocations: 8.031 kB / 1.5 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000651/0.5505, allocations: 84.7 kB / 1.5 GB, free: 140 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.5513, allocations: 155.8 kB / 1.5 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.5536, allocations: 1.527 MB / 1.502 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008436/0.5544, allocations: 83.53 kB / 1.502 GB, free: 14.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.5545, allocations: 35.97 kB / 1.502 GB, free: 14.22 MB / 1.201 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.0005027/0.555, allocations: 273.6 kB / 1.502 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.5552, allocations: 87.55 kB / 1.502 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.5577, allocations: 1.058 MB / 1.503 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5577, allocations: 19.94 kB / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5577, allocations: 0 / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5577, allocations: 7.922 kB / 1.504 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.5611, allocations: 1.81 MB / 1.505 GB, free: 10.9 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.5611, allocations: 0 / 1.505 GB, free: 10.9 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/0.5617, allocations: 139.8 kB / 1.505 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/0.5621, allocations: 72.78 kB / 1.505 GB, free: 10.69 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.5622, allocations: 23.98 kB / 1.505 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.5642, allocations: 1.566 MB / 1.507 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5642, allocations: 144 / 1.507 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.5664, allocations: 1.01 MB / 1.508 GB, free: 7.945 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.5669, allocations: 211 kB / 1.508 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.5671, allocations: 19.94 kB / 1.508 GB, free: 7.719 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/0.5677, allocations: 63.92 kB / 1.508 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.5679, allocations: 68.88 kB / 1.508 GB, free: 7.586 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/0.568, allocations: 39.97 kB / 1.508 GB, free: 7.547 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000677/0.5687, allocations: 475 kB / 1.509 GB, free: 7.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5687, allocations: 0 / 1.509 GB, free: 7.09 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009202/0.5696, allocations: 319.2 kB / 1.509 GB, free: 6.777 MB / 1.201 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.00439/0.574, allocations: 2.083 MB / 1.511 GB, free: 4.875 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.5758, allocations: 0.7728 MB / 1.512 GB, free: 4.09 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5758, allocations: 0 / 1.512 GB, free: 4.09 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009938/0.5768, allocations: 0.4885 MB / 1.512 GB, free: 3.594 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.5783, allocations: 305.1 kB / 1.513 GB, free: 3.312 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.5904, allocations: 6.289 MB / 1.519 GB, free: 12.88 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.5909, allocations: 435.8 kB / 1.519 GB, free: 12.41 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009215/0.5919, allocations: 274.6 kB / 1.52 GB, free: 12.14 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/0.5925, allocations: 375.3 kB / 1.52 GB, free: 11.77 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/0.5925, allocations: 4 kB / 1.52 GB, free: 11.77 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05836/0.6509, allocations: 23.28 MB / 1.543 GB, free: 4.793 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.97, allocations: 8.797 kB / 1.543 GB, free: 4.785 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.844740999978967]