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.001332/0.001332, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001432/0.001432, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.159/3.159, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.001897/0.001897, allocations: 78.59 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.304, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006956/0.311, allocations: 4.878 MB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.49, allocations: 154 MB / 1.476 GB, free: 3.898 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.4908, allocations: 23.81 kB / 1.476 GB, free: 3.875 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007903/0.4916, allocations: 198.2 kB / 1.476 GB, free: 3.68 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.4937, allocations: 0.5704 MB / 1.477 GB, free: 3.109 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.4959, allocations: 0.8574 MB / 1.478 GB, free: 2.258 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.4979, allocations: 1.405 MB / 1.479 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/0.4987, allocations: 417.3 kB / 1.479 GB, free: 424 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008045/0.4995, allocations: 0.5061 MB / 1.48 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006719/0.5002, allocations: 0.5095 MB / 1.48 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.5004, allocations: 116 kB / 1.48 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.5014, allocations: 0.5191 MB / 1.481 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.5017, allocations: 303 kB / 1.481 GB, free: 14.46 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005861/0.5023, allocations: 0.5636 MB / 1.482 GB, free: 13.9 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.5047, allocations: 1.697 MB / 1.483 GB, free: 12.2 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5047, allocations: 4 kB / 1.483 GB, free: 12.19 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5047, allocations: 0 / 1.483 GB, free: 12.19 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.5048, allocations: 0 / 1.483 GB, free: 12.19 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.002827/0.5076, allocations: 1.494 MB / 1.485 GB, free: 10.65 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5076, allocations: 11.98 kB / 1.485 GB, free: 10.64 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.5078, allocations: 143.3 kB / 1.485 GB, free: 10.49 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.5095, allocations: 240 kB / 1.485 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.5108, allocations: 0.7746 MB / 1.486 GB, free: 9.438 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.5109, allocations: 66 kB / 1.486 GB, free: 9.371 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.511, allocations: 76 kB / 1.486 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.5126, allocations: 0.93 MB / 1.487 GB, free: 8.328 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.5127, allocations: 0 / 1.487 GB, free: 8.328 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.5127, allocations: 32 kB / 1.487 GB, free: 8.297 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5128, allocations: 23.98 kB / 1.487 GB, free: 8.273 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.5146, allocations: 1.108 MB / 1.488 GB, free: 7.16 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.519, allocations: 2.76 MB / 1.491 GB, free: 4.273 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.5207, allocations: 0.8557 MB / 1.492 GB, free: 3.391 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.5212, allocations: 278.7 kB / 1.492 GB, free: 3.113 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.5213, allocations: 32.61 kB / 1.492 GB, free: 3.082 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000907/0.5222, allocations: 0.4889 MB / 1.492 GB, free: 2.574 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.445e-06/0.5222, allocations: 0 / 1.492 GB, free: 2.574 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003278/0.5255, allocations: 1.198 MB / 1.494 GB, free: 1.352 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.5256, allocations: 196.5 kB / 1.494 GB, free: 1.117 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.5265, allocations: 0.645 MB / 1.494 GB, free: 476 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.5266, allocations: 45.7 kB / 1.494 GB, free: 424 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.527, allocations: 409 kB / 1.495 GB, free: 8 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.5272, allocations: 265.7 kB / 1.495 GB, free: 15.75 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.5275, allocations: 146.6 kB / 1.495 GB, free: 15.59 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.5277, allocations: 386.7 kB / 1.496 GB, free: 15.21 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.5282, allocations: 245.9 kB / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.5288, allocations: 362.5 kB / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.53, allocations: 0.5838 MB / 1.497 GB, free: 13.99 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.53, allocations: 0 / 1.497 GB, free: 13.99 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002017/0.532, allocations: 0.7984 MB / 1.498 GB, free: 13.18 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.532, allocations: 8 kB / 1.498 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.532, allocations: 0 / 1.498 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/0.5326, allocations: 88.8 kB / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.5332, allocations: 147.8 kB / 1.498 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.5355, allocations: 1.656 MB / 1.499 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.5363, allocations: 87.55 kB / 1.5 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.5363, allocations: 35.98 kB / 1.5 GB, free: 11.02 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.0004638/0.5368, allocations: 269.5 kB / 1.5 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.537, allocations: 87.44 kB / 1.5 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.5395, allocations: 1.062 MB / 1.501 GB, free: 9.578 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.5395, allocations: 15.92 kB / 1.501 GB, free: 9.562 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5395, allocations: 0 / 1.501 GB, free: 9.562 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.5395, allocations: 3.984 kB / 1.501 GB, free: 9.559 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.5431, allocations: 1.975 MB / 1.503 GB, free: 7.523 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5431, allocations: 0 / 1.503 GB, free: 7.523 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.5437, allocations: 139.8 kB / 1.503 GB, free: 7.387 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.5441, allocations: 76.78 kB / 1.503 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.5442, allocations: 19.98 kB / 1.503 GB, free: 7.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.5463, allocations: 1.678 MB / 1.505 GB, free: 5.469 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5463, allocations: 0 / 1.505 GB, free: 5.469 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.5486, allocations: 1.002 MB / 1.506 GB, free: 4.445 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.549, allocations: 284.2 kB / 1.506 GB, free: 4.148 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.5491, allocations: 20 kB / 1.506 GB, free: 4.129 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/0.5498, allocations: 63.92 kB / 1.506 GB, free: 4.066 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.55, allocations: 68.91 kB / 1.506 GB, free: 4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-05/0.55, allocations: 39.97 kB / 1.506 GB, free: 3.961 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007137/0.5508, allocations: 471 kB / 1.507 GB, free: 3.508 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5508, allocations: 4 kB / 1.507 GB, free: 3.504 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000947/0.5517, allocations: 319.2 kB / 1.507 GB, free: 3.191 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.004381/0.5561, allocations: 2.054 MB / 1.509 GB, free: 1.297 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.5579, allocations: 0.7689 MB / 1.51 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5579, allocations: 0 / 1.51 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5589, allocations: 496.2 kB / 1.51 GB, free: 20 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5604, allocations: 304.3 kB / 1.51 GB, free: 15.74 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.5721, allocations: 6.28 MB / 1.517 GB, free: 9.305 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008106/0.5729, allocations: 1.025 MB / 1.518 GB, free: 8.246 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008796/0.5738, allocations: 262.6 kB / 1.518 GB, free: 7.984 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/0.5744, allocations: 387.2 kB / 1.518 GB, free: 7.605 MB / 1.217 GB Notification: Performance of SimCode: time 7.32e-07/0.5744, allocations: 0 / 1.518 GB, free: 7.605 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09102/0.6654, allocations: 21.96 MB / 1.54 GB, free: 1.918 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.8, allocations: 14.38 kB / 1.54 GB, free: 1.906 MB / 1.232 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.61524591012858]