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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 192 kB / 16.53 MB, free: 6.664 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 74.86 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2528, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007216/0.26, allocations: 4.948 MB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.4321, allocations: 150.6 MB / 1.216 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006413/0.4328, allocations: 15.94 kB / 1.216 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005448/0.4334, allocations: 198.2 kB / 1.216 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.435, allocations: 0.5591 MB / 1.217 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.4368, allocations: 0.8426 MB / 1.218 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.4382, allocations: 1.429 MB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/0.4391, allocations: 0.595 MB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/0.4397, allocations: 0.4906 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006406/0.4403, allocations: 0.5251 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.4405, allocations: 120 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.4413, allocations: 455.7 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.4416, allocations: 311 kB / 1.221 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005718/0.4422, allocations: 0.5752 MB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.4439, allocations: 1.632 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4439, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4439, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.4439, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 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.002725/0.4467, allocations: 1.469 MB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.4467, allocations: 8.031 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.4469, allocations: 135.6 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.4478, allocations: 195.3 kB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.4489, allocations: 0.7584 MB / 1.226 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.449, allocations: 62 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4492, allocations: 84 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.4508, allocations: 0.9418 MB / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.4509, allocations: 0 / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.451, allocations: 47.94 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.451, allocations: 20 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.453, allocations: 1.124 MB / 1.228 GB, free: 5.297 MB / 0.9825 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.004298/0.4573, allocations: 2.771 MB / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.459, allocations: 0.9082 MB / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/0.4597, allocations: 318.7 kB / 1.232 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.4598, allocations: 32.59 kB / 1.232 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009853/0.4608, allocations: 0.5275 MB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.033e-06/0.4608, allocations: 0 / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003547/0.4643, allocations: 1.251 MB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.4645, allocations: 204.8 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/0.4653, allocations: 0.6371 MB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.4654, allocations: 45.7 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.4658, allocations: 404.4 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.466, allocations: 276 kB / 1.235 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.4663, allocations: 154.5 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4665, allocations: 386.8 kB / 1.236 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.4671, allocations: 253.9 kB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.4678, allocations: 379.4 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.469, allocations: 0.6172 MB / 1.237 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4691, allocations: 4.062 kB / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002066/0.4711, allocations: 0.8369 MB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4712, allocations: 11.94 kB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4712, allocations: 0 / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/0.4718, allocations: 80.91 kB / 1.238 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.4725, allocations: 163.7 kB / 1.238 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.4749, allocations: 1.626 MB / 1.24 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.4756, allocations: 89.72 kB / 1.24 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.741e-05/0.4757, allocations: 39.91 kB / 1.24 GB, free: 8.867 MB / 0.9981 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.0003976/0.4761, allocations: 269.8 kB / 1.24 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.4763, allocations: 82.97 kB / 1.24 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.479, allocations: 1.148 MB / 1.241 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.4791, allocations: 12 kB / 1.241 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4791, allocations: 0 / 1.241 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4791, allocations: 7.969 kB / 1.241 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.4827, allocations: 2.021 MB / 1.243 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.4827, allocations: 4 kB / 1.243 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.4834, allocations: 155.8 kB / 1.244 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.4838, allocations: 72.78 kB / 1.244 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.4839, allocations: 31.91 kB / 1.244 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.486, allocations: 1.658 MB / 1.245 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4861, allocations: 0 / 1.245 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.4883, allocations: 1.051 MB / 1.246 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.4887, allocations: 291.6 kB / 1.247 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.4888, allocations: 19.98 kB / 1.247 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007189/0.4896, allocations: 63.94 kB / 1.247 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.4897, allocations: 76.88 kB / 1.247 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.4898, allocations: 39.92 kB / 1.247 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006136/0.4904, allocations: 471 kB / 1.247 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4904, allocations: 0 / 1.247 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007966/0.4912, allocations: 335.1 kB / 1.248 GB, free: 0.8281 MB / 0.9981 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.4117/0.903, allocations: 2.096 MB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002695/0.9057, allocations: 1.061 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.9058, allocations: 0 / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.9068, allocations: 0.5424 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.9082, allocations: 297.7 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009418/0.9176, allocations: 6.638 MB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.918, allocations: 1.035 MB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007924/0.9188, allocations: 264.9 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.9193, allocations: 397.8 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.9193, allocations: 6.75 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/0.9727, allocations: 22.04 MB / 1.281 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.79, allocations: 7.484 kB / 1.281 GB, free: 176.2 MB / 0.9981 GB (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) 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) "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