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.004131/0.004132, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001226/0.001226, allocations: 189.8 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 1.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.708/2.708, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.83 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6279, allocations: 159.1 MB / 1.22 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006788/0.6348, allocations: 4.943 MB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.7989, allocations: 150.6 MB / 1.372 GB, free: 6.059 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006295/0.7996, allocations: 15.94 kB / 1.372 GB, free: 6.043 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.8002, allocations: 194.1 kB / 1.372 GB, free: 5.852 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.802, allocations: 0.5749 MB / 1.373 GB, free: 5.277 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.8039, allocations: 0.8455 MB / 1.374 GB, free: 4.438 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.8056, allocations: 1.44 MB / 1.375 GB, free: 2.992 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008811/0.8065, allocations: 0.5883 MB / 1.376 GB, free: 2.379 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006962/0.8072, allocations: 0.5021 MB / 1.376 GB, free: 1.875 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.8079, allocations: 0.5211 MB / 1.377 GB, free: 1.352 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.8081, allocations: 116 kB / 1.377 GB, free: 1.238 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008825/0.809, allocations: 491.6 kB / 1.377 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.8093, allocations: 307 kB / 1.378 GB, free: 468 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.8099, allocations: 0.5753 MB / 1.378 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.8119, allocations: 1.68 MB / 1.38 GB, free: 14.2 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8119, allocations: 4 kB / 1.38 GB, free: 14.19 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8119, allocations: 0 / 1.38 GB, free: 14.19 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.471e-05/0.8119, allocations: 0 / 1.38 GB, free: 14.19 MB / 1.107 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.002834/0.8148, allocations: 1.509 MB / 1.381 GB, free: 12.63 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.8148, allocations: 8.031 kB / 1.381 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.815, allocations: 139.6 kB / 1.381 GB, free: 12.48 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009574/0.816, allocations: 200 kB / 1.382 GB, free: 12.28 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.8172, allocations: 0.7785 MB / 1.382 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.8173, allocations: 69.98 kB / 1.382 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.8174, allocations: 84 kB / 1.382 GB, free: 11.31 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.8191, allocations: 0.9456 MB / 1.383 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.8191, allocations: 0 / 1.383 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.8192, allocations: 36 kB / 1.383 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.8192, allocations: 24 kB / 1.383 GB, free: 10.27 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.8212, allocations: 1.128 MB / 1.385 GB, free: 9.133 MB / 1.107 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.004197/0.8254, allocations: 2.754 MB / 1.387 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.8271, allocations: 0.9071 MB / 1.388 GB, free: 5.328 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.8278, allocations: 314.7 kB / 1.388 GB, free: 5.016 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.8279, allocations: 32.67 kB / 1.388 GB, free: 4.984 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009492/0.8288, allocations: 0.5139 MB / 1.389 GB, free: 4.457 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 2.194e-06/0.8288, allocations: 0 / 1.389 GB, free: 4.457 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003483/0.8323, allocations: 1.259 MB / 1.39 GB, free: 3.172 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.8324, allocations: 200.9 kB / 1.39 GB, free: 2.934 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/0.8333, allocations: 0.641 MB / 1.391 GB, free: 2.285 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.8333, allocations: 41.7 kB / 1.391 GB, free: 2.238 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.8337, allocations: 417 kB / 1.391 GB, free: 1.824 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.8339, allocations: 277.6 kB / 1.392 GB, free: 1.551 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.8342, allocations: 162.6 kB / 1.392 GB, free: 1.387 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8344, allocations: 386.8 kB / 1.392 GB, free: 1 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.8349, allocations: 257.9 kB / 1.392 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.8356, allocations: 383.3 kB / 1.393 GB, free: 348 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.8369, allocations: 0.6133 MB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8369, allocations: 3.938 kB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002029/0.8389, allocations: 0.8374 MB / 1.394 GB, free: 14.86 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.839, allocations: 11.94 kB / 1.394 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.839, allocations: 0 / 1.394 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.8396, allocations: 84.89 kB / 1.394 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.8403, allocations: 163.8 kB / 1.394 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.8425, allocations: 1.634 MB / 1.396 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/0.8432, allocations: 91.5 kB / 1.396 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.8433, allocations: 31.98 kB / 1.396 GB, free: 12.7 MB / 1.123 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.0003713/0.8437, allocations: 270.4 kB / 1.396 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.8438, allocations: 91.42 kB / 1.397 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.8465, allocations: 1.144 MB / 1.398 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.8465, allocations: 12 kB / 1.398 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.8465, allocations: 0 / 1.398 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.8466, allocations: 3.984 kB / 1.398 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.8501, allocations: 2.033 MB / 1.4 GB, free: 9.066 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8501, allocations: 4 kB / 1.4 GB, free: 9.062 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.8507, allocations: 155.7 kB / 1.4 GB, free: 8.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.8512, allocations: 68.78 kB / 1.4 GB, free: 8.84 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.8513, allocations: 35.97 kB / 1.4 GB, free: 8.805 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.8533, allocations: 1.655 MB / 1.402 GB, free: 7.008 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8534, allocations: 0 / 1.402 GB, free: 7.008 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.8556, allocations: 1.061 MB / 1.403 GB, free: 5.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.856, allocations: 284.1 kB / 1.403 GB, free: 5.633 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.8561, allocations: 27.98 kB / 1.403 GB, free: 5.605 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007103/0.8568, allocations: 65.81 kB / 1.403 GB, free: 5.543 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.857, allocations: 76.89 kB / 1.403 GB, free: 5.469 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.8571, allocations: 43.97 kB / 1.403 GB, free: 5.426 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005825/0.8577, allocations: 467 kB / 1.403 GB, free: 4.977 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.476e-06/0.8577, allocations: 0 / 1.403 GB, free: 4.977 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007709/0.8585, allocations: 339 kB / 1.404 GB, free: 4.645 MB / 1.123 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.00435/0.8628, allocations: 2.106 MB / 1.406 GB, free: 2.684 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.8646, allocations: 0.8428 MB / 1.407 GB, free: 1.832 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8646, allocations: 0 / 1.407 GB, free: 1.832 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.8656, allocations: 0.5434 MB / 1.407 GB, free: 1.273 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.8669, allocations: 313.8 kB / 1.407 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.8775, allocations: 6.438 MB / 1.414 GB, free: 10.39 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.8782, allocations: 1.028 MB / 1.415 GB, free: 9.336 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007832/0.879, allocations: 274.9 kB / 1.415 GB, free: 9.062 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.8796, allocations: 399.3 kB / 1.415 GB, free: 8.672 MB / 1.139 GB Notification: Performance of SimCode: time 2.9e-07/0.8796, allocations: 0 / 1.415 GB, free: 8.672 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08834/0.968, allocations: 22.27 MB / 1.437 GB, free: 2.762 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.62, allocations: 10.94 kB / 1.437 GB, free: 2.758 MB / 1.154 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