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.005211/0.005211, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001276/0.001276, allocations: 195.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 71.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2438, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00596/0.2498, allocations: 4.948 MB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6542/0.904, allocations: 150.7 MB / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/0.9048, allocations: 20.12 kB / 1.318 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.9054, allocations: 192.4 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.9074, allocations: 0.5575 MB / 1.319 GB, free: 9.816 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.9094, allocations: 0.8585 MB / 1.32 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.911, allocations: 1.437 MB / 1.321 GB, free: 9.383 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008781/0.9119, allocations: 0.5838 MB / 1.322 GB, free: 9.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008106/0.9127, allocations: 0.5076 MB / 1.322 GB, free: 9.121 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.9136, allocations: 0.5221 MB / 1.323 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.9139, allocations: 117.8 kB / 1.323 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.9149, allocations: 485.7 kB / 1.323 GB, free: 8.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.9153, allocations: 303.1 kB / 1.324 GB, free: 8.898 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007622/0.916, allocations: 0.5788 MB / 1.324 GB, free: 8.586 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.9184, allocations: 1.677 MB / 1.326 GB, free: 7.879 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.9184, allocations: 0 / 1.326 GB, free: 7.879 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9184, allocations: 4 kB / 1.326 GB, free: 7.875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.878e-05/0.9185, allocations: 1.375 kB / 1.326 GB, free: 7.875 MB / 1.014 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.003372/0.9219, allocations: 1.503 MB / 1.327 GB, free: 6.852 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.9219, allocations: 9.531 kB / 1.327 GB, free: 6.852 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.9221, allocations: 138.5 kB / 1.327 GB, free: 6.758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.9231, allocations: 197.2 kB / 1.328 GB, free: 6.688 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.9246, allocations: 0.7841 MB / 1.328 GB, free: 6.176 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.9247, allocations: 67.22 kB / 1.328 GB, free: 6.145 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.9248, allocations: 82.03 kB / 1.328 GB, free: 6.121 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.9266, allocations: 0.9485 MB / 1.329 GB, free: 5.688 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.9267, allocations: 1.219 kB / 1.329 GB, free: 5.688 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.9268, allocations: 36.94 kB / 1.329 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.9268, allocations: 22.31 kB / 1.329 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.9286, allocations: 1.132 MB / 1.331 GB, free: 5.395 MB / 1.014 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.004283/0.9329, allocations: 2.74 MB / 1.333 GB, free: 3.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.9345, allocations: 0.9146 MB / 1.334 GB, free: 3.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.9351, allocations: 320 kB / 1.334 GB, free: 3.199 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.611e-05/0.9352, allocations: 30.86 kB / 1.334 GB, free: 3.191 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000881/0.936, allocations: 0.5233 MB / 1.335 GB, free: 2.977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 2.565e-06/0.9361, allocations: 0 / 1.335 GB, free: 2.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.003237/0.9393, allocations: 1.259 MB / 1.336 GB, free: 2.449 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.9394, allocations: 192.9 kB / 1.336 GB, free: 2.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/0.9403, allocations: 0.6432 MB / 1.337 GB, free: 1.941 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/0.9404, allocations: 43.8 kB / 1.337 GB, free: 1.898 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.9407, allocations: 418 kB / 1.337 GB, free: 1.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.9409, allocations: 287.1 kB / 1.338 GB, free: 1.344 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.9411, allocations: 155.6 kB / 1.338 GB, free: 1.273 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9413, allocations: 387.4 kB / 1.338 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.9418, allocations: 258.7 kB / 1.338 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.9424, allocations: 378.9 kB / 1.339 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.9435, allocations: 0.6164 MB / 1.339 GB, free: 356 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9436, allocations: 0.9688 kB / 1.339 GB, free: 356 kB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001901/0.9455, allocations: 0.8373 MB / 1.34 GB, free: 8 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9455, allocations: 10.44 kB / 1.34 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.9455, allocations: 4.938 kB / 1.34 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005662/0.9461, allocations: 84.14 kB / 1.34 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.9467, allocations: 156.3 kB / 1.34 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.9487, allocations: 1.632 MB / 1.342 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.9494, allocations: 95.78 kB / 1.342 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.9495, allocations: 34.44 kB / 1.342 GB, free: 14.38 MB / 1.029 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.0004111/0.9499, allocations: 275.1 kB / 1.342 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.9501, allocations: 87.84 kB / 1.343 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.9526, allocations: 1.136 MB / 1.344 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.9526, allocations: 13.97 kB / 1.344 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9526, allocations: 1.031 kB / 1.344 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.9527, allocations: 4.781 kB / 1.344 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.9561, allocations: 2.033 MB / 1.346 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9561, allocations: 9 kB / 1.346 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.9567, allocations: 150.7 kB / 1.346 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004168/0.9571, allocations: 70.97 kB / 1.346 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/0.9572, allocations: 29.03 kB / 1.346 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.959, allocations: 1.666 MB / 1.348 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.959, allocations: 2.422 kB / 1.348 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.9612, allocations: 1.059 MB / 1.349 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.9616, allocations: 287.4 kB / 1.349 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.9618, allocations: 17.78 kB / 1.349 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.9625, allocations: 74.62 kB / 1.349 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.9627, allocations: 76.11 kB / 1.349 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.9628, allocations: 34.66 kB / 1.349 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006199/0.9634, allocations: 471.2 kB / 1.349 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9634, allocations: 0 / 1.349 GB, free: 10.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009871/0.9644, allocations: 337 kB / 1.35 GB, free: 10.07 MB / 1.029 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.003538/0.9679, allocations: 2.107 MB / 1.352 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.9697, allocations: 0.8385 MB / 1.353 GB, free: 8.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.9697, allocations: 1.156 kB / 1.353 GB, free: 8.535 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.9707, allocations: 0.5448 MB / 1.353 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.972, allocations: 311.2 kB / 1.354 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.9821, allocations: 6.433 MB / 1.36 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.9827, allocations: 1.034 MB / 1.361 GB, free: 3.801 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000832/0.9835, allocations: 273 kB / 1.361 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.9841, allocations: 397.3 kB / 1.361 GB, free: 3.348 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.9841, allocations: 0 / 1.361 GB, free: 3.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04536/1.029, allocations: 22.29 MB / 1.383 GB, free: 6.094 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.38, allocations: 0 / 1.383 GB, free: 6.094 MB / 1.045 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