Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.001537/0.001537, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001726/0.001726, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.793 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.224/3.224, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.00224/0.00224, allocations: 75.69 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.343, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007599/0.3506, allocations: 4.525 MB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.5265, allocations: 132.9 MB / 1.498 GB, free: 4.172 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.5276, allocations: 23.81 kB / 1.498 GB, free: 4.148 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.5284, allocations: 206.1 kB / 1.498 GB, free: 3.945 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.5308, allocations: 0.5965 MB / 1.498 GB, free: 3.348 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.5332, allocations: 0.8698 MB / 1.499 GB, free: 2.484 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002088/0.5353, allocations: 1.479 MB / 1.501 GB, free: 1 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/0.5361, allocations: 398 kB / 1.501 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007806/0.5369, allocations: 0.5334 MB / 1.502 GB, free: 52 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006688/0.5375, allocations: 0.5016 MB / 1.502 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.5377, allocations: 120 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.5388, allocations: 499.5 kB / 1.503 GB, free: 14.94 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.5392, allocations: 318.9 kB / 1.503 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.5397, allocations: 493.7 kB / 1.503 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.5423, allocations: 1.747 MB / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.5423, allocations: 0 / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5423, allocations: 0 / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.5423, allocations: 3.938 kB / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00303/0.5453, allocations: 1.465 MB / 1.507 GB, free: 10.89 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5454, allocations: 8.031 kB / 1.507 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.5455, allocations: 143.6 kB / 1.507 GB, free: 10.73 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.5474, allocations: 279.9 kB / 1.507 GB, free: 10.46 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.5488, allocations: 0.7296 MB / 1.508 GB, free: 9.699 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.5489, allocations: 66 kB / 1.508 GB, free: 9.633 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.549, allocations: 88 kB / 1.508 GB, free: 9.547 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.5508, allocations: 1.216 MB / 1.509 GB, free: 8.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5508, allocations: 0 / 1.509 GB, free: 8.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.572e-05/0.5509, allocations: 36 kB / 1.509 GB, free: 8.195 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.5509, allocations: 24 kB / 1.509 GB, free: 8.172 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.5528, allocations: 1.112 MB / 1.51 GB, free: 7.059 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.5571, allocations: 2.392 MB / 1.512 GB, free: 4.602 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.5587, allocations: 0.7904 MB / 1.513 GB, free: 3.805 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.5592, allocations: 294.7 kB / 1.514 GB, free: 3.512 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.5593, allocations: 24.62 kB / 1.514 GB, free: 3.488 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.5603, allocations: 0.6297 MB / 1.514 GB, free: 2.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=88): time 2.545e-06/0.5603, allocations: 0 / 1.514 GB, free: 2.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=88): time 0.003477/0.5638, allocations: 1.231 MB / 1.515 GB, free: 1.582 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.5639, allocations: 192.9 kB / 1.516 GB, free: 1.352 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009679/0.5649, allocations: 0.6841 MB / 1.516 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.193e-05/0.565, allocations: 49.7 kB / 1.516 GB, free: 0.6016 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.5654, allocations: 417.1 kB / 1.517 GB, free: 192 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.5656, allocations: 301.5 kB / 1.517 GB, free: 15.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.5659, allocations: 158.6 kB / 1.517 GB, free: 15.73 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5661, allocations: 390.8 kB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.5666, allocations: 269.8 kB / 1.518 GB, free: 15.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/0.5674, allocations: 0.5068 MB / 1.518 GB, free: 14.51 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.5686, allocations: 0.6398 MB / 1.519 GB, free: 13.86 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5686, allocations: 3.938 kB / 1.519 GB, free: 13.86 MB / 1.217 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002071/0.5707, allocations: 0.8765 MB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5707, allocations: 4 kB / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5707, allocations: 0 / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.5713, allocations: 84.83 kB / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.572, allocations: 171.7 kB / 1.52 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.5741, allocations: 1.512 MB / 1.521 GB, free: 11.08 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/0.5749, allocations: 99.47 kB / 1.522 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.5749, allocations: 35.97 kB / 1.522 GB, free: 10.95 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0005384/0.5755, allocations: 278.9 kB / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.5757, allocations: 95.39 kB / 1.522 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.5784, allocations: 1.164 MB / 1.523 GB, free: 9.398 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5784, allocations: 12 kB / 1.523 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5784, allocations: 0 / 1.523 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.5784, allocations: 3.984 kB / 1.523 GB, free: 9.383 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5794, allocations: 0.7897 MB / 1.524 GB, free: 8.551 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5794, allocations: 0 / 1.524 GB, free: 8.551 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/0.5801, allocations: 159.8 kB / 1.524 GB, free: 8.395 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/0.5805, allocations: 76.72 kB / 1.524 GB, free: 8.316 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.5806, allocations: 31.97 kB / 1.524 GB, free: 8.285 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.5824, allocations: 1.539 MB / 1.526 GB, free: 6.617 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5824, allocations: 0 / 1.526 GB, free: 6.617 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.5846, allocations: 1.003 MB / 1.527 GB, free: 5.598 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.5852, allocations: 223 kB / 1.527 GB, free: 5.379 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5853, allocations: 31.88 kB / 1.527 GB, free: 5.348 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.586, allocations: 68.97 kB / 1.527 GB, free: 5.285 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.5862, allocations: 80.84 kB / 1.527 GB, free: 5.203 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.5862, allocations: 43.97 kB / 1.527 GB, free: 5.16 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007078/0.5869, allocations: 499 kB / 1.527 GB, free: 4.676 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5869, allocations: 0 / 1.527 GB, free: 4.676 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009428/0.5879, allocations: 335.2 kB / 1.528 GB, free: 4.348 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004469/0.5923, allocations: 2.099 MB / 1.53 GB, free: 2.422 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.5942, allocations: 0.8313 MB / 1.531 GB, free: 1.578 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5942, allocations: 4 kB / 1.531 GB, free: 1.574 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5952, allocations: 0.508 MB / 1.531 GB, free: 1.059 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.5965, allocations: 309 kB / 1.531 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.6076, allocations: 6.604 MB / 1.538 GB, free: 10.03 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.6082, allocations: 461.9 kB / 1.538 GB, free: 9.547 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001012/0.6092, allocations: 283.2 kB / 1.539 GB, free: 9.266 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.6099, allocations: 419.3 kB / 1.539 GB, free: 8.855 MB / 1.232 GB Notification: Performance of SimCode: time 1.663e-06/0.6099, allocations: 0 / 1.539 GB, free: 8.855 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06897/0.6788, allocations: 24.72 MB / 1.563 GB, free: 452 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.13, allocations: 6.438 kB / 1.563 GB, free: 448 kB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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: 22.145206270273775]