Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_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.008345/0.008345, allocations: 98.97 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.002104/0.002104, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.563/2.563, allocations: 469.4 MB / 0.7421 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 63.91 kB / 1.064 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7149, allocations: 159.1 MB / 1.22 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006666/0.7217, allocations: 4.998 MB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.8776, allocations: 150.7 MB / 1.372 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.8786, allocations: 15.94 kB / 1.372 GB, free: 5.941 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008769/0.8795, allocations: 202.1 kB / 1.372 GB, free: 5.742 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.8817, allocations: 0.5706 MB / 1.373 GB, free: 5.172 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.884, allocations: 0.8835 MB / 1.373 GB, free: 4.293 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.8858, allocations: 1.475 MB / 1.375 GB, free: 2.812 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.8869, allocations: 0.6049 MB / 1.375 GB, free: 2.184 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000877/0.8878, allocations: 0.5255 MB / 1.376 GB, free: 1.656 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.8886, allocations: 0.5329 MB / 1.377 GB, free: 1.121 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.8889, allocations: 124 kB / 1.377 GB, free: 1 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.8901, allocations: 0.4996 MB / 1.377 GB, free: 0.5 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.8905, allocations: 315 kB / 1.377 GB, free: 196 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008024/0.8913, allocations: 0.5908 MB / 1.378 GB, free: 15.6 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.894, allocations: 1.729 MB / 1.38 GB, free: 13.86 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8941, allocations: 0 / 1.38 GB, free: 13.86 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8941, allocations: 0 / 1.38 GB, free: 13.86 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.333e-05/0.8941, allocations: 4 kB / 1.38 GB, free: 13.86 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003971/0.8981, allocations: 1.543 MB / 1.381 GB, free: 12.26 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.8982, allocations: 8.625 kB / 1.381 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002779/0.8985, allocations: 139.8 kB / 1.381 GB, free: 12.11 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.8996, allocations: 208 kB / 1.382 GB, free: 11.9 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.901, allocations: 0.794 MB / 1.382 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.901, allocations: 66 kB / 1.382 GB, free: 11 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.9012, allocations: 84 kB / 1.382 GB, free: 10.92 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.9028, allocations: 0.973 MB / 1.383 GB, free: 9.906 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.9029, allocations: 0 / 1.383 GB, free: 9.906 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.105e-05/0.903, allocations: 40 kB / 1.383 GB, free: 9.867 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.903, allocations: 23.98 kB / 1.383 GB, free: 9.844 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.9048, allocations: 1.163 MB / 1.385 GB, free: 8.68 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.004447/0.9093, allocations: 2.9 MB / 1.387 GB, free: 5.664 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.9114, allocations: 0.9763 MB / 1.388 GB, free: 4.672 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.912, allocations: 330.1 kB / 1.389 GB, free: 4.348 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.661e-05/0.9121, allocations: 42.66 kB / 1.389 GB, free: 4.309 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009371/0.9131, allocations: 0.5314 MB / 1.389 GB, free: 3.762 MB / 1.107 GB Notification: Performance of pre-optimization done (n=88): time 2.665e-06/0.9131, allocations: 0 / 1.389 GB, free: 3.762 MB / 1.107 GB Notification: Performance of matching and sorting (n=88): time 0.003406/0.9165, allocations: 1.31 MB / 1.391 GB, free: 2.426 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.9166, allocations: 188.9 kB / 1.391 GB, free: 2.199 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.9175, allocations: 0.6567 MB / 1.391 GB, free: 1.531 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.9176, allocations: 41.7 kB / 1.391 GB, free: 1.484 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.9179, allocations: 413.2 kB / 1.392 GB, free: 1.074 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.9181, allocations: 301.4 kB / 1.392 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.9184, allocations: 162.6 kB / 1.392 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.9186, allocations: 386.8 kB / 1.393 GB, free: 232 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.9191, allocations: 269.8 kB / 1.393 GB, free: 15.96 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.9198, allocations: 390.5 kB / 1.393 GB, free: 15.55 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.921, allocations: 0.6281 MB / 1.394 GB, free: 14.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.921, allocations: 0 / 1.394 GB, free: 14.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002077/0.9231, allocations: 0.8725 MB / 1.395 GB, free: 14.03 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.9231, allocations: 8 kB / 1.395 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9232, allocations: 0 / 1.395 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.9238, allocations: 84.83 kB / 1.395 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.9245, allocations: 167.8 kB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.9266, allocations: 1.638 MB / 1.397 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/0.9274, allocations: 99.5 kB / 1.397 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.9275, allocations: 39.98 kB / 1.397 GB, free: 11.85 MB / 1.123 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.0004841/0.928, allocations: 267.4 kB / 1.397 GB, free: 11.58 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.9282, allocations: 87.44 kB / 1.397 GB, free: 11.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.931, allocations: 1.191 MB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.931, allocations: 16 kB / 1.398 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.931, allocations: 0 / 1.398 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.931, allocations: 3.984 kB / 1.398 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.9348, allocations: 2.107 MB / 1.4 GB, free: 8.105 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.9348, allocations: 3.984 kB / 1.4 GB, free: 8.102 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.9355, allocations: 163.7 kB / 1.4 GB, free: 7.941 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/0.936, allocations: 76.78 kB / 1.4 GB, free: 7.863 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.9361, allocations: 31.97 kB / 1.401 GB, free: 7.832 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.9381, allocations: 1.663 MB / 1.402 GB, free: 6.023 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9381, allocations: 0 / 1.402 GB, free: 6.023 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.9404, allocations: 1.096 MB / 1.403 GB, free: 4.906 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.9409, allocations: 300.1 kB / 1.403 GB, free: 4.594 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.9411, allocations: 16 kB / 1.404 GB, free: 4.578 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.9419, allocations: 78.27 kB / 1.404 GB, free: 4.504 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.942, allocations: 84.81 kB / 1.404 GB, free: 4.422 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.9421, allocations: 43.97 kB / 1.404 GB, free: 4.379 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005998/0.9427, allocations: 467 kB / 1.404 GB, free: 3.93 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9427, allocations: 0 / 1.404 GB, free: 3.93 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009935/0.9437, allocations: 351.1 kB / 1.404 GB, free: 3.586 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 (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.003859/0.9476, allocations: 2.169 MB / 1.407 GB, free: 1.562 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.9495, allocations: 0.8625 MB / 1.407 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9495, allocations: 8.047 kB / 1.407 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009885/0.9505, allocations: 0.5627 MB / 1.408 GB, free: 112 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.9518, allocations: 317.7 kB / 1.408 GB, free: 15.81 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.9618, allocations: 6.592 MB / 1.415 GB, free: 9.066 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.9624, allocations: 1.048 MB / 1.416 GB, free: 7.992 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008174/0.9633, allocations: 271.1 kB / 1.416 GB, free: 7.727 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.9639, allocations: 415.3 kB / 1.416 GB, free: 7.32 MB / 1.139 GB Notification: Performance of SimCode: time 5.81e-07/0.9639, allocations: 0 / 1.416 GB, free: 7.32 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/1.013, allocations: 22.92 MB / 1.439 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.37, allocations: 10.8 kB / 1.439 GB, free: 0.7305 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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