Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01033/0.01033, allocations: 100.6 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002982/0.002982, allocations: 190.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.898/2.898, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.298/5.298, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 67.89 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401/1.404, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.01165/1.415, allocations: 4.949 MB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.3226/1.738, allocations: 150.6 MB / 1.318 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/1.74, allocations: 23.81 kB / 1.318 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/1.741, allocations: 186.2 kB / 1.318 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003868/1.745, allocations: 0.5593 MB / 1.319 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005477/1.75, allocations: 0.8496 MB / 1.32 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003406/1.754, allocations: 1.436 MB / 1.321 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/1.756, allocations: 0.586 MB / 1.322 GB, free: 3.887 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/1.757, allocations: 0.506 MB / 1.322 GB, free: 3.379 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/1.759, allocations: 0.5212 MB / 1.323 GB, free: 2.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003755/1.759, allocations: 120 kB / 1.323 GB, free: 2.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/1.761, allocations: 487.6 kB / 1.323 GB, free: 2.262 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005933/1.761, allocations: 315 kB / 1.324 GB, free: 1.953 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/1.762, allocations: 0.5635 MB / 1.324 GB, free: 1.387 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00424/1.767, allocations: 1.682 MB / 1.326 GB, free: 15.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/1.767, allocations: 0 / 1.326 GB, free: 15.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.595e-06/1.767, allocations: 4 kB / 1.326 GB, free: 15.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.881e-05/1.767, allocations: 0 / 1.326 GB, free: 15.7 MB / 1.061 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.005278/1.772, allocations: 1.501 MB / 1.327 GB, free: 14.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 9.76e-05/1.772, allocations: 12.92 kB / 1.327 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003777/1.773, allocations: 143.5 kB / 1.327 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/1.774, allocations: 200 kB / 1.328 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/1.777, allocations: 0.7746 MB / 1.328 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.777, allocations: 62 kB / 1.328 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/1.777, allocations: 87.98 kB / 1.328 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/1.78, allocations: 0.9495 MB / 1.329 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/1.78, allocations: 0 / 1.329 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/1.781, allocations: 36 kB / 1.329 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/1.781, allocations: 20 kB / 1.329 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/1.784, allocations: 1.139 MB / 1.331 GB, free: 10.64 MB / 1.061 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.008355/1.792, allocations: 2.744 MB / 1.333 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/1.795, allocations: 0.9072 MB / 1.334 GB, free: 6.852 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005295/1.801, allocations: 314.7 kB / 1.334 GB, free: 6.543 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/1.801, allocations: 36.67 kB / 1.334 GB, free: 6.508 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/1.803, allocations: 0.5138 MB / 1.335 GB, free: 5.977 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 4.298e-06/1.803, allocations: 0 / 1.335 GB, free: 5.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.01009/1.813, allocations: 1.259 MB / 1.336 GB, free: 4.688 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/1.813, allocations: 192.9 kB / 1.336 GB, free: 4.457 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/1.815, allocations: 0.6449 MB / 1.337 GB, free: 3.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002284/1.815, allocations: 41.7 kB / 1.337 GB, free: 3.754 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000615/1.816, allocations: 405.1 kB / 1.337 GB, free: 3.352 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00465/1.82, allocations: 293.6 kB / 1.338 GB, free: 3.062 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006131/1.821, allocations: 154.6 kB / 1.338 GB, free: 2.906 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0003869/1.821, allocations: 390.7 kB / 1.338 GB, free: 2.516 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/1.822, allocations: 261.7 kB / 1.338 GB, free: 2.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.824, allocations: 379.4 kB / 1.339 GB, free: 1.859 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/1.826, allocations: 0.6133 MB / 1.339 GB, free: 1.234 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.826, allocations: 0 / 1.339 GB, free: 1.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003492/1.829, allocations: 0.8374 MB / 1.34 GB, free: 392 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/1.829, allocations: 7.938 kB / 1.34 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.829, allocations: 4 kB / 1.34 GB, free: 380 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/1.83, allocations: 84.89 kB / 1.34 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.832, allocations: 163.7 kB / 1.34 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/1.835, allocations: 1.638 MB / 1.342 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00945/1.845, allocations: 101.8 kB / 1.342 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/1.845, allocations: 35.92 kB / 1.342 GB, free: 14.21 MB / 1.076 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.0009284/1.846, allocations: 276.4 kB / 1.342 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/1.846, allocations: 87.44 kB / 1.343 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/1.851, allocations: 1.133 MB / 1.344 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.851, allocations: 11.94 kB / 1.344 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.851, allocations: 0 / 1.344 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/1.851, allocations: 7.969 kB / 1.344 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/1.862, allocations: 2.032 MB / 1.346 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.862, allocations: 4 kB / 1.346 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.863, allocations: 155.8 kB / 1.346 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006851/1.864, allocations: 72.78 kB / 1.346 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.864, allocations: 27.98 kB / 1.346 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/1.867, allocations: 1.659 MB / 1.348 GB, free: 8.523 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.867, allocations: 0 / 1.348 GB, free: 8.523 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003944/1.871, allocations: 1.061 MB / 1.349 GB, free: 7.441 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00081/1.872, allocations: 288.1 kB / 1.349 GB, free: 7.141 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/1.872, allocations: 20 kB / 1.349 GB, free: 7.121 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.874, allocations: 67.92 kB / 1.349 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.874, allocations: 76.89 kB / 1.349 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.874, allocations: 35.97 kB / 1.349 GB, free: 6.945 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001169/1.875, allocations: 471 kB / 1.349 GB, free: 6.492 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.41e-07/1.875, allocations: 7.875 kB / 1.349 GB, free: 6.484 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001585/1.877, allocations: 335.1 kB / 1.35 GB, free: 6.156 MB / 1.076 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.007109/1.884, allocations: 2.103 MB / 1.352 GB, free: 4.191 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003299/1.887, allocations: 0.8428 MB / 1.353 GB, free: 3.336 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.887, allocations: 0 / 1.353 GB, free: 3.336 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/1.889, allocations: 0.555 MB / 1.353 GB, free: 2.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/1.892, allocations: 308.2 kB / 1.354 GB, free: 2.488 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.913, allocations: 6.419 MB / 1.36 GB, free: 11.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.914, allocations: 1.032 MB / 1.361 GB, free: 10.85 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00156/1.915, allocations: 274.9 kB / 1.361 GB, free: 10.57 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.916, allocations: 399.3 kB / 1.361 GB, free: 10.18 MB / 1.092 GB Notification: Performance of SimCode: time 1.282e-06/1.917, allocations: 0 / 1.361 GB, free: 10.18 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1839/2.1, allocations: 22.28 MB / 1.383 GB, free: 4.16 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.08/29.18, allocations: 1.688 kB / 1.383 GB, free: 4.16 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,altAng.alt Variables in the result:time,altAng.alt,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solHouAng.solHouAng