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.001715/0.001715, allocations: 100.4 kB / 16.45 MB, free: 6.5 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.00208/0.00208, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.98 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.665/2.665, allocations: 476.7 MB / 0.7672 GB, free: 5.238 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.00236/0.00236, allocations: 71.89 kB / 1.112 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.8, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006745/0.8068, allocations: 4.882 MB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1778/0.9846, allocations: 154 MB / 1.433 GB, free: 13.94 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.9856, allocations: 23.81 kB / 1.433 GB, free: 13.92 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.9865, allocations: 198.2 kB / 1.434 GB, free: 13.72 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.9886, allocations: 0.5694 MB / 1.434 GB, free: 13.16 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.9909, allocations: 0.857 MB / 1.435 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001961/0.9929, allocations: 1.413 MB / 1.436 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009419/0.9938, allocations: 437.1 kB / 1.437 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.9947, allocations: 0.4944 MB / 1.437 GB, free: 9.938 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008278/0.9956, allocations: 0.5095 MB / 1.438 GB, free: 9.426 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.9959, allocations: 120 kB / 1.438 GB, free: 9.309 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.997, allocations: 0.5152 MB / 1.438 GB, free: 8.793 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.9974, allocations: 303.1 kB / 1.439 GB, free: 8.496 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007707/0.9982, allocations: 0.5674 MB / 1.439 GB, free: 7.926 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/1.001, allocations: 1.697 MB / 1.441 GB, free: 6.223 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.001, allocations: 0 / 1.441 GB, free: 6.223 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.573e-06/1.001, allocations: 0 / 1.441 GB, free: 6.223 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.642e-05/1.001, allocations: 0 / 1.441 GB, free: 6.223 MB / 1.139 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.003127/1.004, allocations: 1.49 MB / 1.442 GB, free: 4.676 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.004, allocations: 8.031 kB / 1.442 GB, free: 4.668 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/1.004, allocations: 131.4 kB / 1.442 GB, free: 4.531 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/1.006, allocations: 248 kB / 1.443 GB, free: 4.289 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.007, allocations: 0.7785 MB / 1.443 GB, free: 3.469 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/1.007, allocations: 69.98 kB / 1.444 GB, free: 3.398 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/1.007, allocations: 76 kB / 1.444 GB, free: 3.324 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/1.009, allocations: 0.9262 MB / 1.444 GB, free: 2.359 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/1.009, allocations: 0 / 1.444 GB, free: 2.359 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/1.009, allocations: 32 kB / 1.445 GB, free: 2.328 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/1.009, allocations: 20 kB / 1.445 GB, free: 2.309 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/1.011, allocations: 1.112 MB / 1.446 GB, free: 1.195 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.004343/1.015, allocations: 2.732 MB / 1.448 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/1.017, allocations: 0.8409 MB / 1.449 GB, free: 13.49 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/1.017, allocations: 278.6 kB / 1.449 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.05e-05/1.018, allocations: 40.53 kB / 1.449 GB, free: 13.17 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009095/1.018, allocations: 488.8 kB / 1.45 GB, free: 12.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=79): time 2.345e-06/1.018, allocations: 0 / 1.45 GB, free: 12.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=79): time 0.003406/1.022, allocations: 1.202 MB / 1.451 GB, free: 11.45 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.022, allocations: 188.6 kB / 1.451 GB, free: 11.22 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.023, allocations: 0.645 MB / 1.452 GB, free: 10.57 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/1.023, allocations: 49.7 kB / 1.452 GB, free: 10.51 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/1.024, allocations: 405 kB / 1.452 GB, free: 10.11 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/1.024, allocations: 273.7 kB / 1.453 GB, free: 9.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/1.024, allocations: 138.6 kB / 1.453 GB, free: 9.699 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.024, allocations: 390.7 kB / 1.453 GB, free: 9.309 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/1.025, allocations: 245.9 kB / 1.453 GB, free: 9.066 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/1.026, allocations: 366.4 kB / 1.454 GB, free: 8.684 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/1.027, allocations: 0.58 MB / 1.454 GB, free: 8.094 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.027, allocations: 0 / 1.454 GB, free: 8.094 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002053/1.029, allocations: 0.8062 MB / 1.455 GB, free: 7.273 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.029, allocations: 8 kB / 1.455 GB, free: 7.266 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.029, allocations: 0 / 1.455 GB, free: 7.266 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/1.029, allocations: 88.8 kB / 1.455 GB, free: 7.176 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/1.03, allocations: 147.8 kB / 1.455 GB, free: 7.031 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/1.032, allocations: 1.638 MB / 1.457 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/1.033, allocations: 91.53 kB / 1.457 GB, free: 5.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/1.033, allocations: 27.98 kB / 1.457 GB, free: 5.133 MB / 1.154 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.000447/1.034, allocations: 269.6 kB / 1.457 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/1.034, allocations: 91.42 kB / 1.457 GB, free: 4.77 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/1.036, allocations: 1.066 MB / 1.458 GB, free: 3.688 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/1.036, allocations: 11.94 kB / 1.458 GB, free: 3.676 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.036, allocations: 0 / 1.458 GB, free: 3.676 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.036, allocations: 7.984 kB / 1.458 GB, free: 3.668 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/1.04, allocations: 1.975 MB / 1.46 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.04, allocations: 0 / 1.46 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/1.041, allocations: 139.8 kB / 1.46 GB, free: 1.496 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/1.041, allocations: 80.72 kB / 1.46 GB, free: 1.414 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/1.041, allocations: 23.98 kB / 1.461 GB, free: 1.391 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.043, allocations: 1.674 MB / 1.462 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.043, allocations: 0 / 1.462 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.045, allocations: 1.002 MB / 1.463 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/1.046, allocations: 284.2 kB / 1.463 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/1.046, allocations: 24 kB / 1.463 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/1.047, allocations: 65.75 kB / 1.463 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/1.047, allocations: 72.91 kB / 1.464 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/1.047, allocations: 31.98 kB / 1.464 GB, free: 14.06 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006652/1.048, allocations: 479 kB / 1.464 GB, free: 13.6 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.048, allocations: 0 / 1.464 GB, free: 13.6 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009348/1.049, allocations: 315.2 kB / 1.464 GB, free: 13.29 MB / 1.17 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.004346/1.053, allocations: 2.051 MB / 1.466 GB, free: 11.39 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001751/1.055, allocations: 0.7689 MB / 1.467 GB, free: 10.61 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.055, allocations: 0 / 1.467 GB, free: 10.61 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009824/1.056, allocations: 0.4885 MB / 1.468 GB, free: 10.11 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/1.057, allocations: 302.6 kB / 1.468 GB, free: 9.836 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.068, allocations: 6.276 MB / 1.474 GB, free: 3.41 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/1.069, allocations: 1.033 MB / 1.475 GB, free: 2.344 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007761/1.069, allocations: 258.7 kB / 1.475 GB, free: 2.086 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/1.07, allocations: 379.3 kB / 1.476 GB, free: 1.715 MB / 1.17 GB Notification: Performance of SimCode: time 1.042e-06/1.07, allocations: 0 / 1.476 GB, free: 1.715 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06117/1.131, allocations: 21.98 MB / 1.497 GB, free: 12.04 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.55, allocations: 10.56 kB / 1.497 GB, free: 12.03 MB / 1.201 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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] "Error: Could not read variable zen.y in file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.y from file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.825127718038857]