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.0096/0.0096, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.002619/0.002619, allocations: 191.7 kB / 16.67 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 2.59/2.59, allocations: 222.9 MB / 240.4 MB, free: 4.305 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 4.898/4.898, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002895/0.002895, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4885, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.01167/0.5002, allocations: 5.023 MB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.447/1.948, allocations: 150.7 MB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/1.949, allocations: 15.28 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/1.95, allocations: 198.8 kB / 1.318 GB, free: 9.949 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/1.954, allocations: 0.5566 MB / 1.319 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00422/1.959, allocations: 0.8876 MB / 1.32 GB, free: 9.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003937/1.963, allocations: 1.465 MB / 1.321 GB, free: 9.258 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/1.964, allocations: 0.6067 MB / 1.322 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/1.966, allocations: 0.5137 MB / 1.322 GB, free: 8.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/1.967, allocations: 0.5353 MB / 1.323 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003874/1.968, allocations: 121 kB / 1.323 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/1.97, allocations: 0.5004 MB / 1.324 GB, free: 8.824 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005667/1.97, allocations: 311.6 kB / 1.324 GB, free: 8.766 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/1.971, allocations: 0.5946 MB / 1.324 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004741/1.976, allocations: 1.732 MB / 1.326 GB, free: 7.672 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.976, allocations: 0.6562 kB / 1.326 GB, free: 7.672 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/1.976, allocations: 1.188 kB / 1.326 GB, free: 7.672 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.27e-05/1.976, allocations: 0 / 1.326 GB, free: 7.672 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.005486/1.982, allocations: 1.539 MB / 1.328 GB, free: 6.629 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.791e-05/1.982, allocations: 10.06 kB / 1.328 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003635/1.982, allocations: 146.6 kB / 1.328 GB, free: 6.531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/1.984, allocations: 201.7 kB / 1.328 GB, free: 6.457 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/1.987, allocations: 0.7887 MB / 1.329 GB, free: 5.945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.987, allocations: 68.05 kB / 1.329 GB, free: 5.914 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002655/1.987, allocations: 85.58 kB / 1.329 GB, free: 5.887 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/1.991, allocations: 0.9825 MB / 1.33 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/1.991, allocations: 4 kB / 1.33 GB, free: 5.438 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/1.991, allocations: 40.22 kB / 1.33 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/1.991, allocations: 21.81 kB / 1.33 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/1.994, allocations: 1.158 MB / 1.331 GB, free: 5.137 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.009165/2.004, allocations: 2.896 MB / 1.334 GB, free: 3.406 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/2.008, allocations: 0.9748 MB / 1.335 GB, free: 2.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/2.009, allocations: 326.6 kB / 1.335 GB, free: 2.859 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/2.009, allocations: 32.66 kB / 1.335 GB, free: 2.848 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/2.011, allocations: 0.5458 MB / 1.336 GB, free: 2.625 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 9.958e-06/2.011, allocations: 3.984 kB / 1.336 GB, free: 2.621 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.00601/2.017, allocations: 1.307 MB / 1.337 GB, free: 2.074 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/2.017, allocations: 193.5 kB / 1.337 GB, free: 1.855 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/2.019, allocations: 0.6523 MB / 1.338 GB, free: 1.566 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003318/2.019, allocations: 43.3 kB / 1.338 GB, free: 1.523 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/2.02, allocations: 411.8 kB / 1.338 GB, free: 1.203 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006066/2.021, allocations: 301.9 kB / 1.338 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004947/2.021, allocations: 160.7 kB / 1.339 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003845/2.022, allocations: 391.2 kB / 1.339 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/2.023, allocations: 268.6 kB / 1.339 GB, free: 460 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/2.024, allocations: 385.3 kB / 1.34 GB, free: 268 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/2.026, allocations: 0.6291 MB / 1.34 GB, free: 15.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/2.026, allocations: 2.312 kB / 1.34 GB, free: 15.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003876/2.03, allocations: 0.8717 MB / 1.341 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/2.03, allocations: 5.844 kB / 1.341 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/2.03, allocations: 1.188 kB / 1.341 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/2.031, allocations: 83.3 kB / 1.341 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/2.032, allocations: 171.1 kB / 1.341 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/2.036, allocations: 1.63 MB / 1.343 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/2.038, allocations: 107.7 kB / 1.343 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/2.038, allocations: 32.67 kB / 1.343 GB, free: 13.98 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.0009705/2.039, allocations: 280 kB / 1.343 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/2.039, allocations: 89.56 kB / 1.343 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/2.044, allocations: 1.195 MB / 1.345 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/2.044, allocations: 10.72 kB / 1.345 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/2.044, allocations: 1.062 kB / 1.345 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/2.044, allocations: 4.781 kB / 1.345 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006771/2.051, allocations: 2.103 MB / 1.347 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/2.051, allocations: 0 / 1.347 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/2.052, allocations: 166.3 kB / 1.347 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006652/2.053, allocations: 75.22 kB / 1.347 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/2.053, allocations: 29.42 kB / 1.347 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/2.056, allocations: 1.658 MB / 1.349 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.056, allocations: 0.9375 kB / 1.349 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/2.061, allocations: 1.094 MB / 1.35 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/2.062, allocations: 300.9 kB / 1.35 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005115/2.063, allocations: 18.12 kB / 1.35 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/2.064, allocations: 77.66 kB / 1.35 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/2.065, allocations: 80.92 kB / 1.35 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/2.065, allocations: 44.7 kB / 1.35 GB, free: 9.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001524/2.067, allocations: 473.4 kB / 1.351 GB, free: 9.699 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.51e-07/2.067, allocations: 0 / 1.351 GB, free: 9.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002256/2.069, allocations: 356.4 kB / 1.351 GB, free: 9.598 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.007999/2.077, allocations: 2.165 MB / 1.353 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003667/2.081, allocations: 0.8787 MB / 1.354 GB, free: 8.035 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/2.081, allocations: 3.984 kB / 1.354 GB, free: 8.031 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/2.083, allocations: 0.5627 MB / 1.354 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/2.085, allocations: 302.3 kB / 1.355 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/2.108, allocations: 6.583 MB / 1.361 GB, free: 3.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/2.109, allocations: 1.05 MB / 1.362 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001819/2.111, allocations: 284.8 kB / 1.362 GB, free: 2.844 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/2.112, allocations: 407.6 kB / 1.363 GB, free: 2.523 MB / 1.029 GB Notification: Performance of SimCode: time 1.493e-06/2.112, allocations: 0 / 1.363 GB, free: 2.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/2.243, allocations: 22.96 MB / 1.385 GB, free: 3.988 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.86/29.11, allocations: 8 kB / 1.385 GB, free: 3.98 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