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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.004869/0.004869, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001129/0.001129, allocations: 193 kB / 16.67 MB, free: 5.973 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.521/2.521, allocations: 469.4 MB / 0.7422 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 1.064 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.6439, allocations: 159.1 MB / 1.22 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006058/0.65, allocations: 4.944 MB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1474/0.7975, allocations: 150.6 MB / 1.372 GB, free: 6.066 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006983/0.7982, allocations: 19.88 kB / 1.372 GB, free: 6.047 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006397/0.7988, allocations: 190.2 kB / 1.372 GB, free: 5.859 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.8006, allocations: 0.5708 MB / 1.372 GB, free: 5.289 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.8025, allocations: 0.8652 MB / 1.373 GB, free: 4.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.804, allocations: 1.429 MB / 1.375 GB, free: 2.996 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008403/0.8049, allocations: 0.5937 MB / 1.375 GB, free: 2.379 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006684/0.8056, allocations: 0.4984 MB / 1.376 GB, free: 1.879 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.8062, allocations: 0.525 MB / 1.376 GB, free: 1.352 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.8064, allocations: 120 kB / 1.376 GB, free: 1.234 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008292/0.8072, allocations: 487.6 kB / 1.377 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.8075, allocations: 311 kB / 1.377 GB, free: 464 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.8081, allocations: 0.5752 MB / 1.378 GB, free: 15.87 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.8099, allocations: 1.674 MB / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.8099, allocations: 0 / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8099, allocations: 4 kB / 1.379 GB, free: 14.19 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.8099, allocations: 0 / 1.379 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.002717/0.8126, allocations: 1.505 MB / 1.381 GB, free: 12.63 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.8127, allocations: 12.62 kB / 1.381 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.8129, allocations: 135.6 kB / 1.381 GB, free: 12.48 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.8138, allocations: 200 kB / 1.381 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.815, allocations: 0.7823 MB / 1.382 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/0.8151, allocations: 65.94 kB / 1.382 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.8152, allocations: 84 kB / 1.382 GB, free: 11.31 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.8168, allocations: 0.9534 MB / 1.383 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.8169, allocations: 0 / 1.383 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/0.817, allocations: 36 kB / 1.383 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.817, allocations: 20 kB / 1.383 GB, free: 10.27 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.8188, allocations: 1.132 MB / 1.384 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.003961/0.8228, allocations: 2.748 MB / 1.387 GB, free: 6.27 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.8244, allocations: 0.9072 MB / 1.388 GB, free: 5.336 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.8249, allocations: 318.7 kB / 1.388 GB, free: 5.02 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.825, allocations: 28.69 kB / 1.388 GB, free: 4.992 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008788/0.8259, allocations: 0.5255 MB / 1.389 GB, free: 4.453 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 2.174e-06/0.8259, allocations: 0 / 1.389 GB, free: 4.453 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003259/0.8292, allocations: 1.263 MB / 1.39 GB, free: 3.164 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.8293, allocations: 192.9 kB / 1.39 GB, free: 2.934 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.83, allocations: 0.6372 MB / 1.391 GB, free: 2.285 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.8301, allocations: 41.7 kB / 1.391 GB, free: 2.238 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.8304, allocations: 409 kB / 1.391 GB, free: 1.832 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.8306, allocations: 293.6 kB / 1.391 GB, free: 1.543 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.8309, allocations: 158.5 kB / 1.391 GB, free: 1.383 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.831, allocations: 386.8 kB / 1.392 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.8316, allocations: 253.9 kB / 1.392 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.8322, allocations: 383.4 kB / 1.392 GB, free: 352 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.8334, allocations: 0.6173 MB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8334, allocations: 0 / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001945/0.8353, allocations: 0.8374 MB / 1.394 GB, free: 14.86 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8353, allocations: 7.938 kB / 1.394 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8354, allocations: 4 kB / 1.394 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/0.836, allocations: 84.89 kB / 1.394 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.8366, allocations: 155.8 kB / 1.394 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.8388, allocations: 1.649 MB / 1.396 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.8395, allocations: 87.52 kB / 1.396 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.8396, allocations: 39.91 kB / 1.396 GB, free: 12.69 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.0003961/0.84, allocations: 269.7 kB / 1.396 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.8402, allocations: 87.44 kB / 1.396 GB, free: 12.33 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.8427, allocations: 1.14 MB / 1.397 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.8427, allocations: 8 kB / 1.397 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8427, allocations: 0 / 1.397 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.8428, allocations: 7.984 kB / 1.397 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.8461, allocations: 2.025 MB / 1.399 GB, free: 9.078 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8461, allocations: 4 kB / 1.399 GB, free: 9.074 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/0.8467, allocations: 159.8 kB / 1.399 GB, free: 8.918 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/0.8472, allocations: 72.78 kB / 1.399 GB, free: 8.844 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.8473, allocations: 27.98 kB / 1.399 GB, free: 8.816 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.8492, allocations: 1.666 MB / 1.401 GB, free: 7.008 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8492, allocations: 0 / 1.401 GB, free: 7.008 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.8513, allocations: 1.061 MB / 1.402 GB, free: 5.926 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.8517, allocations: 288.1 kB / 1.402 GB, free: 5.625 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.8518, allocations: 20 kB / 1.402 GB, free: 5.605 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.8526, allocations: 67.98 kB / 1.403 GB, free: 5.539 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.8527, allocations: 76.89 kB / 1.403 GB, free: 5.465 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.35e-05/0.8528, allocations: 43.91 kB / 1.403 GB, free: 5.422 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005658/0.8534, allocations: 471 kB / 1.403 GB, free: 4.969 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8534, allocations: 0 / 1.403 GB, free: 4.969 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008348/0.8543, allocations: 331.1 kB / 1.403 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.003541/0.8578, allocations: 2.112 MB / 1.405 GB, free: 2.68 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.8595, allocations: 0.8311 MB / 1.406 GB, free: 1.84 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8595, allocations: 4 kB / 1.406 GB, free: 1.836 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009639/0.8605, allocations: 0.5589 MB / 1.407 GB, free: 1.266 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.8618, allocations: 312.6 kB / 1.407 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.8718, allocations: 6.429 MB / 1.413 GB, free: 10.39 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.8724, allocations: 1.032 MB / 1.414 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007766/0.8732, allocations: 263 kB / 1.415 GB, free: 9.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.8738, allocations: 399.3 kB / 1.415 GB, free: 8.68 MB / 1.139 GB Notification: Performance of SimCode: time 4.51e-07/0.8738, allocations: 0 / 1.415 GB, free: 8.68 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/0.9187, allocations: 22.27 MB / 1.437 GB, free: 2.746 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.79, allocations: 8.875 kB / 1.437 GB, free: 2.738 MB / 1.154 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