Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_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.001211/0.001211, allocations: 108 kB / 15.61 MB, free: 152 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.001207/0.001207, allocations: 195.3 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.393/2.393, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.17 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2297, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006089/0.2358, allocations: 4.952 MB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1531/0.3889, allocations: 150.6 MB / 1.216 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.3898, allocations: 15.94 kB / 1.216 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.3904, allocations: 198.1 kB / 1.216 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.3921, allocations: 0.5487 MB / 1.216 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.3939, allocations: 0.8521 MB / 1.217 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.395, allocations: 1.421 MB / 1.219 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007665/0.3958, allocations: 0.5912 MB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.3963, allocations: 0.4944 MB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.3968, allocations: 0.5251 MB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.397, allocations: 116 kB / 1.22 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.3977, allocations: 463.6 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.398, allocations: 307 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.3984, allocations: 0.5674 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.4, allocations: 1.632 MB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.4, allocations: 4 kB / 1.223 GB, free: 10.61 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.002492/0.4025, allocations: 1.468 MB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.4025, allocations: 12.02 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.4027, allocations: 139.6 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009336/0.4036, allocations: 191.3 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/0.4046, allocations: 0.7467 MB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.4047, allocations: 69.98 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.4048, allocations: 84 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4062, allocations: 0.9495 MB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4063, allocations: 0 / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.4063, allocations: 36 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.4064, allocations: 20 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.4081, allocations: 1.136 MB / 1.228 GB, free: 5.629 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.003788/0.4119, allocations: 2.771 MB / 1.231 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.4135, allocations: 0.912 MB / 1.231 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.4141, allocations: 316.7 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.94e-05/0.4142, allocations: 36.67 kB / 1.232 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009143/0.4151, allocations: 0.5197 MB / 1.232 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 3.576e-06/0.4151, allocations: 0 / 1.232 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003347/0.4185, allocations: 1.259 MB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4186, allocations: 192.9 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.4194, allocations: 0.6449 MB / 1.234 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.4194, allocations: 41.7 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.4197, allocations: 404.4 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.4199, allocations: 276 kB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.4202, allocations: 162.5 kB / 1.235 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4203, allocations: 386.8 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.4209, allocations: 253.9 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.4215, allocations: 379.4 kB / 1.236 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.4227, allocations: 0.6094 MB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4227, allocations: 8 kB / 1.237 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001951/0.4246, allocations: 0.837 MB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4247, allocations: 13.48 kB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4247, allocations: 64 / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/0.4253, allocations: 84.91 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.426, allocations: 159.8 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.4281, allocations: 1.623 MB / 1.239 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.4287, allocations: 99.34 kB / 1.24 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.4288, allocations: 35.92 kB / 1.24 GB, free: 9.195 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.0003327/0.4291, allocations: 266.2 kB / 1.24 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.4293, allocations: 86.97 kB / 1.24 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.4319, allocations: 1.144 MB / 1.241 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.4319, allocations: 11.98 kB / 1.241 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4319, allocations: 0 / 1.241 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.432, allocations: 7.984 kB / 1.241 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.4353, allocations: 2.021 MB / 1.243 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4353, allocations: 3.938 kB / 1.243 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.436, allocations: 155.8 kB / 1.243 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.4364, allocations: 76.78 kB / 1.243 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.4365, allocations: 31.97 kB / 1.243 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.4385, allocations: 1.662 MB / 1.245 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4385, allocations: 4 kB / 1.245 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.4406, allocations: 1.047 MB / 1.246 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.441, allocations: 287.6 kB / 1.246 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.4411, allocations: 20 kB / 1.246 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.4419, allocations: 67.92 kB / 1.246 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.4421, allocations: 76.89 kB / 1.246 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.4422, allocations: 39.97 kB / 1.246 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005241/0.4427, allocations: 463 kB / 1.247 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4427, allocations: 4 kB / 1.247 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007825/0.4435, allocations: 331.1 kB / 1.247 GB, free: 1.16 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.4438/0.8873, allocations: 2.097 MB / 1.249 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.89, allocations: 1.06 MB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.89, allocations: 2.625 kB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009542/0.891, allocations: 0.5404 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.0013/0.8923, allocations: 300.6 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009002/0.9013, allocations: 6.636 MB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.9017, allocations: 1.037 MB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007366/0.9024, allocations: 278 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.9028, allocations: 401.5 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.9028, allocations: 0 / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04366/0.9465, allocations: 22.03 MB / 1.281 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/11.06, allocations: 13.5 kB / 1.281 GB, free: 176.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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