Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001453/0.001453, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001479/0.001479, allocations: 217.1 kB / 22.25 MB, free: 5.105 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.075/3.075, allocations: 0.49 GB / 0.7951 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_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.001948/0.001948, allocations: 67.5 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3602, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00679/0.3669, allocations: 4.4 MB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1658/0.5328, allocations: 132.7 MB / 1.46 GB, free: 7.902 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.5336, allocations: 23.81 kB / 1.46 GB, free: 7.879 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006358/0.5342, allocations: 194.2 kB / 1.46 GB, free: 7.688 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.5361, allocations: 0.5606 MB / 1.46 GB, free: 7.129 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.5381, allocations: 0.865 MB / 1.461 GB, free: 6.27 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.5398, allocations: 1.401 MB / 1.463 GB, free: 4.863 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/0.5406, allocations: 421.8 kB / 1.463 GB, free: 4.426 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007214/0.5413, allocations: 0.5061 MB / 1.464 GB, free: 3.918 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006376/0.5419, allocations: 0.5095 MB / 1.464 GB, free: 3.406 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.5421, allocations: 120 kB / 1.464 GB, free: 3.289 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.5431, allocations: 0.4957 MB / 1.465 GB, free: 2.793 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.5434, allocations: 307 kB / 1.465 GB, free: 2.492 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.544, allocations: 469.7 kB / 1.465 GB, free: 2.031 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.5463, allocations: 1.708 MB / 1.467 GB, free: 324 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5463, allocations: 0 / 1.467 GB, free: 324 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5463, allocations: 0 / 1.467 GB, free: 324 kB / 1.154 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.5463, allocations: 4 kB / 1.467 GB, free: 320 kB / 1.154 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.002662/0.549, allocations: 1.413 MB / 1.468 GB, free: 14.86 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5491, allocations: 8.031 kB / 1.468 GB, free: 14.86 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.5492, allocations: 131.4 kB / 1.469 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.5508, allocations: 240 kB / 1.469 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.5522, allocations: 0.7219 MB / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.5522, allocations: 62 kB / 1.47 GB, free: 13.67 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5524, allocations: 80 kB / 1.47 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.5541, allocations: 1.169 MB / 1.471 GB, free: 12.32 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5542, allocations: 0 / 1.471 GB, free: 12.32 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.5543, allocations: 43.92 kB / 1.471 GB, free: 12.28 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.5543, allocations: 20 kB / 1.471 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.5561, allocations: 1.065 MB / 1.472 GB, free: 11.19 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.5603, allocations: 2.24 MB / 1.474 GB, free: 8.887 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.5618, allocations: 0.7622 MB / 1.475 GB, free: 8.113 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.5623, allocations: 274.7 kB / 1.475 GB, free: 7.844 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-05/0.5624, allocations: 24.62 kB / 1.475 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009394/0.5634, allocations: 0.5894 MB / 1.476 GB, free: 7.188 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.736e-06/0.5634, allocations: 0 / 1.476 GB, free: 7.188 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003221/0.5666, allocations: 1.123 MB / 1.477 GB, free: 6.055 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.5667, allocations: 192.6 kB / 1.477 GB, free: 5.824 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5677, allocations: 0.6528 MB / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.5678, allocations: 41.7 kB / 1.478 GB, free: 5.117 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.5682, allocations: 409 kB / 1.478 GB, free: 4.711 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.5685, allocations: 261.7 kB / 1.478 GB, free: 4.453 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.5687, allocations: 146.6 kB / 1.478 GB, free: 4.305 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.5689, allocations: 390.7 kB / 1.479 GB, free: 3.914 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.5694, allocations: 245.9 kB / 1.479 GB, free: 3.672 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.5701, allocations: 495 kB / 1.479 GB, free: 3.133 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.5712, allocations: 0.5838 MB / 1.48 GB, free: 2.539 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5712, allocations: 0 / 1.48 GB, free: 2.539 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001928/0.5732, allocations: 0.7985 MB / 1.481 GB, free: 1.727 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5732, allocations: 4 kB / 1.481 GB, free: 1.723 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5732, allocations: 3.984 kB / 1.481 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.5738, allocations: 88.75 kB / 1.481 GB, free: 1.629 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.5745, allocations: 155.8 kB / 1.481 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.5766, allocations: 1.539 MB / 1.483 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.5773, allocations: 83.56 kB / 1.483 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.5773, allocations: 31.98 kB / 1.483 GB, free: 15.71 MB / 1.186 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.0004751/0.5778, allocations: 274.1 kB / 1.483 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.578, allocations: 87.5 kB / 1.483 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.5804, allocations: 1.058 MB / 1.484 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.5804, allocations: 15.94 kB / 1.484 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5804, allocations: 4 kB / 1.484 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.5804, allocations: 7.969 kB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.5838, allocations: 1.814 MB / 1.486 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5838, allocations: 0 / 1.486 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.5843, allocations: 139.8 kB / 1.486 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.5848, allocations: 68.8 kB / 1.486 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.685e-05/0.5848, allocations: 35.91 kB / 1.486 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.5868, allocations: 1.563 MB / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5868, allocations: 3.938 kB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.5888, allocations: 1.002 MB / 1.489 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004698/0.5893, allocations: 211 kB / 1.489 GB, free: 9.227 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5894, allocations: 16 kB / 1.489 GB, free: 9.211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/0.59, allocations: 63.92 kB / 1.489 GB, free: 9.148 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.5902, allocations: 72.86 kB / 1.489 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.5902, allocations: 31.98 kB / 1.489 GB, free: 9.043 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006328/0.5909, allocations: 479 kB / 1.489 GB, free: 8.582 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5909, allocations: 4 kB / 1.489 GB, free: 8.578 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008826/0.5918, allocations: 315.2 kB / 1.49 GB, free: 8.27 MB / 1.186 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.004214/0.596, allocations: 2.1 MB / 1.492 GB, free: 6.352 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.5976, allocations: 0.7689 MB / 1.493 GB, free: 5.57 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5976, allocations: 4 kB / 1.493 GB, free: 5.566 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009021/0.5985, allocations: 488.2 kB / 1.493 GB, free: 5.082 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.5998, allocations: 302.8 kB / 1.493 GB, free: 4.797 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.6104, allocations: 6.288 MB / 1.499 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.6108, allocations: 441.8 kB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007965/0.6116, allocations: 270.6 kB / 1.5 GB, free: 13.62 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.6122, allocations: 379.3 kB / 1.5 GB, free: 13.25 MB / 1.201 GB Notification: Performance of SimCode: time 8.41e-07/0.6122, allocations: 0 / 1.5 GB, free: 13.25 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06249/0.6747, allocations: 23.73 MB / 1.524 GB, free: 5.82 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.99, allocations: 15.25 kB / 1.524 GB, free: 5.809 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable zen.y in file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.y from file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.69325019099051]