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.001265/0.001265, allocations: 108 kB / 15.6 MB, free: 132 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.001166/0.001166, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.303/2.303, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.89 kB / 0.8693 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4874, allocations: 151.6 MB / 1.017 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005919/0.4933, allocations: 4.948 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1321/0.6254, allocations: 150.6 MB / 1.169 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.6261, allocations: 15.94 kB / 1.169 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.6267, allocations: 198.1 kB / 1.17 GB, free: 6 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.6284, allocations: 0.5605 MB / 1.17 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.6301, allocations: 0.8463 MB / 1.171 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.6313, allocations: 1.421 MB / 1.172 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.6321, allocations: 0.5885 MB / 1.173 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/0.6327, allocations: 0.5021 MB / 1.173 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.6333, allocations: 0.5212 MB / 1.174 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.6335, allocations: 120 kB / 1.174 GB, free: 1.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/0.6342, allocations: 467.5 kB / 1.174 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.6345, allocations: 303 kB / 1.175 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.635, allocations: 0.5752 MB / 1.175 GB, free: 92 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.6365, allocations: 1.628 MB / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6365, allocations: 0 / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6365, allocations: 0 / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.6365, allocations: 0 / 1.177 GB, free: 14.46 MB / 0.9356 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.002424/0.639, allocations: 1.465 MB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.639, allocations: 16.02 kB / 1.178 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.6392, allocations: 139.6 kB / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.64, allocations: 187.4 kB / 1.179 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/0.641, allocations: 0.7543 MB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.641, allocations: 69.98 kB / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/0.6411, allocations: 84 kB / 1.18 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.6425, allocations: 0.9534 MB / 1.18 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.6426, allocations: 0 / 1.18 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.6426, allocations: 36 kB / 1.18 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.6427, allocations: 24 kB / 1.181 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.6443, allocations: 1.128 MB / 1.182 GB, free: 9.465 MB / 0.9356 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.003587/0.6479, allocations: 2.763 MB / 1.184 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.6494, allocations: 0.9046 MB / 1.185 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.6499, allocations: 318.7 kB / 1.186 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.048e-05/0.65, allocations: 36.67 kB / 1.186 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008223/0.6508, allocations: 0.5158 MB / 1.186 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 2.284e-06/0.6509, allocations: 0 / 1.186 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.003057/0.6539, allocations: 1.255 MB / 1.187 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.654, allocations: 200.9 kB / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.6547, allocations: 0.6411 MB / 1.188 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.6548, allocations: 41.7 kB / 1.188 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.655, allocations: 400.4 kB / 1.189 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.6552, allocations: 268.1 kB / 1.189 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.6554, allocations: 158.5 kB / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6556, allocations: 390.8 kB / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.6561, allocations: 257.9 kB / 1.19 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.6566, allocations: 375.4 kB / 1.19 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.6577, allocations: 0.621 MB / 1.19 GB, free: 56 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6577, allocations: 0 / 1.19 GB, free: 56 kB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001861/0.6596, allocations: 0.8331 MB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6596, allocations: 7.938 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6596, allocations: 7.938 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.6602, allocations: 80.91 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.6609, allocations: 167.8 kB / 1.192 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.6627, allocations: 1.636 MB / 1.193 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.6634, allocations: 103.2 kB / 1.193 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.6634, allocations: 31.92 kB / 1.193 GB, free: 13.03 MB / 0.9512 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.0003297/0.6638, allocations: 270.4 kB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.6639, allocations: 82.97 kB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.6663, allocations: 1.152 MB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6663, allocations: 8 kB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6663, allocations: 0 / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.6663, allocations: 3.984 kB / 1.195 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.6694, allocations: 2.028 MB / 1.197 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6694, allocations: 0 / 1.197 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.6699, allocations: 151.8 kB / 1.197 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.6704, allocations: 80.78 kB / 1.197 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.6704, allocations: 27.97 kB / 1.197 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.6721, allocations: 1.658 MB / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6721, allocations: 0 / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.6741, allocations: 1.058 MB / 1.2 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.6744, allocations: 279.7 kB / 1.2 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.6745, allocations: 27.98 kB / 1.2 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/0.6752, allocations: 59.94 kB / 1.2 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.6753, allocations: 76.89 kB / 1.2 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/0.6754, allocations: 43.97 kB / 1.2 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004844/0.6759, allocations: 467 kB / 1.201 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6759, allocations: 0 / 1.201 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007219/0.6766, allocations: 335.1 kB / 1.201 GB, free: 4.988 MB / 0.9512 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.003209/0.6798, allocations: 2.106 MB / 1.203 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.6821, allocations: 1.058 MB / 1.204 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6821, allocations: 0 / 1.204 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000882/0.683, allocations: 0.5511 MB / 1.205 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6841, allocations: 303.4 kB / 1.205 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009021/0.6931, allocations: 6.636 MB / 1.211 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.6937, allocations: 1.039 MB / 1.212 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007335/0.6944, allocations: 270.9 kB / 1.213 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.6949, allocations: 403.3 kB / 1.213 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.6949, allocations: 0 / 1.213 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04486/0.7398, allocations: 22.02 MB / 1.234 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.83, allocations: 11.16 kB / 1.234 GB, free: 2.949 MB / 0.9825 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