Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.007567/0.007567, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.0011/0.0011, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.502/2.502, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2413, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005898/0.2472, allocations: 5.013 MB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.69/0.9372, allocations: 150.7 MB / 1.318 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007327/0.938, allocations: 20.09 kB / 1.318 GB, free: 10.03 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.9386, allocations: 190.6 kB / 1.318 GB, free: 9.926 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.9402, allocations: 0.5782 MB / 1.319 GB, free: 9.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.9422, allocations: 0.8843 MB / 1.32 GB, free: 9.496 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.9436, allocations: 1.469 MB / 1.321 GB, free: 9.227 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/0.9444, allocations: 0.6038 MB / 1.322 GB, free: 9.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.945, allocations: 0.5152 MB / 1.322 GB, free: 8.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/0.9456, allocations: 0.5355 MB / 1.323 GB, free: 8.828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.9458, allocations: 121 kB / 1.323 GB, free: 8.828 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.9472, allocations: 0.5003 MB / 1.324 GB, free: 8.797 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.9475, allocations: 315.6 kB / 1.324 GB, free: 8.734 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.9481, allocations: 0.602 MB / 1.324 GB, free: 8.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.9502, allocations: 1.725 MB / 1.326 GB, free: 7.645 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9502, allocations: 0 / 1.326 GB, free: 7.645 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9502, allocations: 1.281 kB / 1.326 GB, free: 7.645 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.9502, allocations: 0 / 1.326 GB, free: 7.645 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002812/0.953, allocations: 1.543 MB / 1.328 GB, free: 6.598 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.9531, allocations: 13.56 kB / 1.328 GB, free: 6.594 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.9533, allocations: 141.1 kB / 1.328 GB, free: 6.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/0.9542, allocations: 197.3 kB / 1.328 GB, free: 6.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.9555, allocations: 0.7973 MB / 1.329 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.9555, allocations: 67.22 kB / 1.329 GB, free: 5.879 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.9557, allocations: 86.92 kB / 1.329 GB, free: 5.852 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.9573, allocations: 0.9736 MB / 1.33 GB, free: 5.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9573, allocations: 4 kB / 1.33 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/0.9574, allocations: 44.08 kB / 1.33 GB, free: 5.383 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.9574, allocations: 22.25 kB / 1.33 GB, free: 5.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.9593, allocations: 1.155 MB / 1.331 GB, free: 5.113 MB / 1.014 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.004166/0.9635, allocations: 2.895 MB / 1.334 GB, free: 3.383 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.9656, allocations: 0.9826 MB / 1.335 GB, free: 2.949 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/0.9662, allocations: 327.2 kB / 1.335 GB, free: 2.828 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-05/0.9662, allocations: 34.83 kB / 1.335 GB, free: 2.816 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009403/0.9672, allocations: 0.5345 MB / 1.336 GB, free: 2.598 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.224e-06/0.9672, allocations: 0 / 1.336 GB, free: 2.598 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.00316/0.9704, allocations: 1.304 MB / 1.337 GB, free: 2.055 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.9705, allocations: 190 kB / 1.337 GB, free: 1.836 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.9713, allocations: 0.6528 MB / 1.338 GB, free: 1.547 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.9714, allocations: 43.08 kB / 1.338 GB, free: 1.504 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.9717, allocations: 409.5 kB / 1.338 GB, free: 1.184 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.9719, allocations: 302.3 kB / 1.338 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.9721, allocations: 161.8 kB / 1.339 GB, free: 0.875 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.9723, allocations: 394.6 kB / 1.339 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/0.9729, allocations: 271.7 kB / 1.339 GB, free: 436 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.9735, allocations: 382.2 kB / 1.34 GB, free: 244 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.9747, allocations: 0.629 MB / 1.34 GB, free: 15.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9747, allocations: 2.5 kB / 1.34 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001926/0.9766, allocations: 0.8709 MB / 1.341 GB, free: 15.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9766, allocations: 6.906 kB / 1.341 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9767, allocations: 9.25 kB / 1.341 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.9772, allocations: 79.69 kB / 1.341 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.9779, allocations: 172.9 kB / 1.341 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.9799, allocations: 1.626 MB / 1.343 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007462/0.9806, allocations: 106.5 kB / 1.343 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.9807, allocations: 37.52 kB / 1.343 GB, free: 13.96 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003917/0.9811, allocations: 274.1 kB / 1.343 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.9813, allocations: 92.66 kB / 1.343 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.9839, allocations: 1.197 MB / 1.345 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.9839, allocations: 13.48 kB / 1.345 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.9839, allocations: 0 / 1.345 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.9839, allocations: 3.844 kB / 1.345 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/0.9873, allocations: 2.104 MB / 1.347 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9873, allocations: 0 / 1.347 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.988, allocations: 166.2 kB / 1.347 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.9884, allocations: 73.16 kB / 1.347 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.9885, allocations: 27.98 kB / 1.347 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.9903, allocations: 1.664 MB / 1.349 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.9903, allocations: 0.9375 kB / 1.349 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.9924, allocations: 1.095 MB / 1.35 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.9929, allocations: 296.7 kB / 1.35 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.993, allocations: 32.3 kB / 1.35 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.9938, allocations: 67.27 kB / 1.35 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.9939, allocations: 81.16 kB / 1.35 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/0.994, allocations: 44.34 kB / 1.35 GB, free: 9.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006242/0.9947, allocations: 475.5 kB / 1.351 GB, free: 9.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9947, allocations: 0 / 1.351 GB, free: 9.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001048/0.9957, allocations: 352.5 kB / 1.351 GB, free: 9.574 MB / 1.029 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 (106): * Single equations (assignments): 99 * 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.003858/0.9996, allocations: 2.158 MB / 1.353 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001755/1.001, allocations: 0.8793 MB / 1.354 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.001, allocations: 0 / 1.354 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009102/1.002, allocations: 0.5643 MB / 1.354 GB, free: 7.754 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.004, allocations: 304.8 kB / 1.355 GB, free: 7.652 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.015, allocations: 6.592 MB / 1.361 GB, free: 3.824 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/1.016, allocations: 1.051 MB / 1.362 GB, free: 2.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009801/1.017, allocations: 272.1 kB / 1.362 GB, free: 2.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/1.017, allocations: 414.3 kB / 1.363 GB, free: 2.516 MB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/1.017, allocations: 0 / 1.363 GB, free: 2.516 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/1.067, allocations: 22.95 MB / 1.385 GB, free: 4.023 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.96, allocations: 0 / 1.385 GB, free: 4.023 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=864000.000000 File[6]=1728.000000 " Variables in the reference:time,solAzi.solAzi Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solAzi.solAzi,solAzi.solTim