Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001367/0.001367, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001534/0.001534, allocations: 216.1 kB / 22.24 MB, free: 5.242 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.812 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.885/2.885, allocations: 476 MB / 0.7699 GB, free: 4.781 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.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.002088/0.002088, allocations: 69.66 kB / 1.117 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3111, allocations: 169.9 MB / 1.283 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006662/0.3177, allocations: 4.49 MB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.4796, allocations: 132.7 MB / 1.417 GB, free: 10.55 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007742/0.4804, allocations: 23.88 kB / 1.417 GB, free: 10.52 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.481, allocations: 206.1 kB / 1.417 GB, free: 10.32 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.4827, allocations: 0.5737 MB / 1.417 GB, free: 9.746 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.4847, allocations: 0.8805 MB / 1.418 GB, free: 8.871 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.4863, allocations: 1.456 MB / 1.42 GB, free: 7.406 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000699/0.487, allocations: 398.2 kB / 1.42 GB, free: 6.992 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007402/0.4878, allocations: 0.5334 MB / 1.42 GB, free: 6.457 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.4884, allocations: 493.6 kB / 1.421 GB, free: 5.973 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.4886, allocations: 120 kB / 1.421 GB, free: 5.855 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009783/0.4895, allocations: 495.6 kB / 1.422 GB, free: 5.371 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.4898, allocations: 311 kB / 1.422 GB, free: 5.066 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004634/0.4903, allocations: 485.7 kB / 1.422 GB, free: 4.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.4923, allocations: 1.728 MB / 1.424 GB, free: 2.855 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4923, allocations: 4 kB / 1.424 GB, free: 2.852 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4923, allocations: 0 / 1.424 GB, free: 2.852 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.4923, allocations: 0 / 1.424 GB, free: 2.852 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00268/0.495, allocations: 1.464 MB / 1.425 GB, free: 1.352 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4951, allocations: 15.97 kB / 1.425 GB, free: 1.336 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.4952, allocations: 139.6 kB / 1.426 GB, free: 1.191 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.4969, allocations: 248 kB / 1.426 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.4982, allocations: 0.7257 MB / 1.427 GB, free: 204 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.4982, allocations: 69.98 kB / 1.427 GB, free: 132 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4984, allocations: 84 kB / 1.427 GB, free: 48 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.5001, allocations: 1.197 MB / 1.428 GB, free: 14.75 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.5002, allocations: 0 / 1.428 GB, free: 14.75 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.5003, allocations: 47.97 kB / 1.428 GB, free: 14.7 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.5003, allocations: 20 kB / 1.428 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.5022, allocations: 1.081 MB / 1.429 GB, free: 13.6 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.004461/0.5066, allocations: 2.266 MB / 1.431 GB, free: 11.27 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.5084, allocations: 0.7868 MB / 1.432 GB, free: 10.47 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.5089, allocations: 286.7 kB / 1.432 GB, free: 10.19 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-05/0.509, allocations: 24.64 kB / 1.432 GB, free: 10.17 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.51, allocations: 0.6182 MB / 1.433 GB, free: 9.512 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.986e-06/0.51, allocations: 0 / 1.433 GB, free: 9.512 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.003455/0.5135, allocations: 1.196 MB / 1.434 GB, free: 8.309 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.5136, allocations: 192.9 kB / 1.434 GB, free: 8.074 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/0.5146, allocations: 0.6646 MB / 1.435 GB, free: 7.398 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/0.5147, allocations: 41.7 kB / 1.435 GB, free: 7.352 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.5151, allocations: 417 kB / 1.435 GB, free: 6.938 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.5154, allocations: 289.5 kB / 1.436 GB, free: 6.652 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.5156, allocations: 158.6 kB / 1.436 GB, free: 6.492 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.5158, allocations: 386.8 kB / 1.436 GB, free: 6.105 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.5164, allocations: 261.8 kB / 1.436 GB, free: 5.852 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.5171, allocations: 0.496 MB / 1.437 GB, free: 5.293 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.5182, allocations: 0.6133 MB / 1.437 GB, free: 4.668 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5182, allocations: 0 / 1.437 GB, free: 4.668 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002001/0.5202, allocations: 0.8374 MB / 1.438 GB, free: 3.816 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5203, allocations: 11.94 kB / 1.438 GB, free: 3.805 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.5203, allocations: 0 / 1.438 GB, free: 3.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.5209, allocations: 84.89 kB / 1.438 GB, free: 3.719 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.5215, allocations: 159.8 kB / 1.438 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.5236, allocations: 1.519 MB / 1.44 GB, free: 1.922 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.5243, allocations: 99.72 kB / 1.44 GB, free: 1.824 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.5244, allocations: 35.91 kB / 1.44 GB, free: 1.789 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004481/0.5248, allocations: 269.4 kB / 1.44 GB, free: 1.516 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.525, allocations: 99.38 kB / 1.44 GB, free: 1.418 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.5275, allocations: 1.136 MB / 1.442 GB, free: 276 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.5275, allocations: 12 kB / 1.442 GB, free: 264 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.5275, allocations: 0 / 1.442 GB, free: 264 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.5275, allocations: 7.922 kB / 1.442 GB, free: 256 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.531, allocations: 1.887 MB / 1.443 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.531, allocations: 0 / 1.443 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.5316, allocations: 159.7 kB / 1.444 GB, free: 14.15 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.532, allocations: 68.8 kB / 1.444 GB, free: 14.08 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.5321, allocations: 31.97 kB / 1.444 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.5341, allocations: 1.543 MB / 1.445 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5341, allocations: 3.984 kB / 1.445 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.5362, allocations: 1.065 MB / 1.446 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.5366, allocations: 211 kB / 1.446 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5368, allocations: 19.95 kB / 1.446 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/0.5375, allocations: 80.52 kB / 1.447 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5376, allocations: 80.84 kB / 1.447 GB, free: 10.92 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.5377, allocations: 31.98 kB / 1.447 GB, free: 10.89 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006374/0.5383, allocations: 487 kB / 1.447 GB, free: 10.42 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5383, allocations: 0 / 1.447 GB, free: 10.42 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008859/0.5392, allocations: 339.1 kB / 1.447 GB, free: 10.09 MB / 1.154 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.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 (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.004414/0.5436, allocations: 2.153 MB / 1.45 GB, free: 8.117 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.5454, allocations: 0.8077 MB / 1.45 GB, free: 7.297 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5454, allocations: 0 / 1.45 GB, free: 7.297 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.5464, allocations: 0.5199 MB / 1.451 GB, free: 6.766 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.5477, allocations: 299.5 kB / 1.451 GB, free: 6.492 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.5592, allocations: 6.496 MB / 1.457 GB, free: 15.84 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.5598, allocations: 455.2 kB / 1.458 GB, free: 15.36 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008732/0.5607, allocations: 283 kB / 1.458 GB, free: 15.08 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/0.5613, allocations: 403.3 kB / 1.459 GB, free: 14.68 MB / 1.17 GB Notification: Performance of SimCode: time 9.91e-07/0.5613, allocations: 4 kB / 1.459 GB, free: 14.68 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06749/0.6288, allocations: 24.24 MB / 1.482 GB, free: 6.773 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.2, allocations: 4.062 kB / 1.482 GB, free: 6.77 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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: 20.795368592254817]