Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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.SolarAzimuth,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_11_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.00424/0.00424, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001264/0.001264, allocations: 193.6 kB / 16.67 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.706/2.706, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6371/0.6391, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006756/0.6459, allocations: 5.002 MB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.8149, allocations: 150.7 MB / 1.372 GB, free: 5.684 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.8157, allocations: 19.88 kB / 1.372 GB, free: 5.664 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000746/0.8165, allocations: 194.2 kB / 1.372 GB, free: 5.473 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.8185, allocations: 0.5632 MB / 1.373 GB, free: 4.91 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.8207, allocations: 0.8925 MB / 1.374 GB, free: 4.023 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.8225, allocations: 1.471 MB / 1.375 GB, free: 2.547 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.8234, allocations: 0.5894 MB / 1.376 GB, free: 1.934 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006339/0.824, allocations: 0.5216 MB / 1.376 GB, free: 1.41 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006519/0.8247, allocations: 0.5368 MB / 1.377 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.8249, allocations: 124 kB / 1.377 GB, free: 0.75 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.8258, allocations: 0.5034 MB / 1.378 GB, free: 252 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.8261, allocations: 311 kB / 1.378 GB, free: 15.94 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.8267, allocations: 0.5869 MB / 1.378 GB, free: 15.35 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.8286, allocations: 1.729 MB / 1.38 GB, free: 13.62 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.8287, allocations: 4 kB / 1.38 GB, free: 13.61 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8287, allocations: 0 / 1.38 GB, free: 13.61 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.8287, allocations: 0 / 1.38 GB, free: 13.61 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.002739/0.8314, allocations: 1.547 MB / 1.382 GB, free: 12.01 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.8315, allocations: 8.031 kB / 1.382 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.8317, allocations: 143.8 kB / 1.382 GB, free: 11.85 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.8326, allocations: 204 kB / 1.382 GB, free: 11.65 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.8338, allocations: 0.7901 MB / 1.383 GB, free: 10.82 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.8339, allocations: 69.98 kB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.834, allocations: 87.94 kB / 1.383 GB, free: 10.66 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.8358, allocations: 0.973 MB / 1.384 GB, free: 9.652 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.8358, allocations: 0 / 1.384 GB, free: 9.652 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.8359, allocations: 40 kB / 1.384 GB, free: 9.613 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.8359, allocations: 24 kB / 1.384 GB, free: 9.59 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.838, allocations: 1.159 MB / 1.385 GB, free: 8.426 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.004494/0.8425, allocations: 2.905 MB / 1.388 GB, free: 5.406 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.8447, allocations: 0.9841 MB / 1.389 GB, free: 4.402 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006385/0.8454, allocations: 331.8 kB / 1.389 GB, free: 4.074 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-05/0.8455, allocations: 34.67 kB / 1.389 GB, free: 4.043 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009802/0.8465, allocations: 0.5237 MB / 1.39 GB, free: 3.504 MB / 1.107 GB Notification: Performance of pre-optimization done (n=88): time 3.997e-06/0.8465, allocations: 7.984 kB / 1.39 GB, free: 3.496 MB / 1.107 GB Notification: Performance of matching and sorting (n=88): time 0.003578/0.8501, allocations: 1.306 MB / 1.391 GB, free: 2.164 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.8502, allocations: 192.9 kB / 1.391 GB, free: 1.934 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008504/0.8511, allocations: 0.6528 MB / 1.392 GB, free: 1.273 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.8511, allocations: 41.7 kB / 1.392 GB, free: 1.227 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.8515, allocations: 413.2 kB / 1.392 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.8517, allocations: 301.4 kB / 1.392 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.852, allocations: 162.6 kB / 1.393 GB, free: 364 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.8522, allocations: 390.8 kB / 1.393 GB, free: 15.96 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005984/0.8528, allocations: 269.8 kB / 1.393 GB, free: 15.7 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.8536, allocations: 386.5 kB / 1.394 GB, free: 15.29 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.8549, allocations: 0.6281 MB / 1.394 GB, free: 14.65 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8549, allocations: 0 / 1.394 GB, free: 14.65 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00214/0.857, allocations: 0.8726 MB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.857, allocations: 8 kB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8571, allocations: 0 / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/0.8577, allocations: 84.77 kB / 1.395 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/0.8584, allocations: 167.8 kB / 1.395 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.8607, allocations: 1.631 MB / 1.397 GB, free: 11.74 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.8614, allocations: 103.5 kB / 1.397 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.8615, allocations: 35.97 kB / 1.397 GB, free: 11.6 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.0003849/0.8619, allocations: 276.1 kB / 1.397 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.8621, allocations: 87.44 kB / 1.397 GB, free: 11.24 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.8649, allocations: 1.195 MB / 1.399 GB, free: 10.03 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.8649, allocations: 12 kB / 1.399 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.8649, allocations: 3.938 kB / 1.399 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.8649, allocations: 3.984 kB / 1.399 GB, free: 10.01 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.8686, allocations: 2.103 MB / 1.401 GB, free: 7.844 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.8686, allocations: 0 / 1.401 GB, free: 7.844 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/0.8693, allocations: 163.8 kB / 1.401 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/0.8698, allocations: 76.78 kB / 1.401 GB, free: 7.605 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.8699, allocations: 31.97 kB / 1.401 GB, free: 7.574 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.8719, allocations: 1.666 MB / 1.403 GB, free: 5.762 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.872, allocations: 4.062 kB / 1.403 GB, free: 5.758 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.8743, allocations: 1.096 MB / 1.404 GB, free: 4.645 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.8747, allocations: 296.1 kB / 1.404 GB, free: 4.336 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.8748, allocations: 20 kB / 1.404 GB, free: 4.316 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/0.8756, allocations: 73.8 kB / 1.404 GB, free: 4.246 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.8757, allocations: 84.81 kB / 1.404 GB, free: 4.164 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.8758, allocations: 39.98 kB / 1.404 GB, free: 4.125 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006113/0.8764, allocations: 471 kB / 1.405 GB, free: 3.672 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8765, allocations: 0 / 1.405 GB, free: 3.672 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008436/0.8773, allocations: 351.1 kB / 1.405 GB, free: 3.328 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.00445/0.8818, allocations: 2.175 MB / 1.407 GB, free: 1.297 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001825/0.8836, allocations: 0.8665 MB / 1.408 GB, free: 432 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8836, allocations: 0 / 1.408 GB, free: 432 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.8847, allocations: 0.5666 MB / 1.408 GB, free: 15.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.886, allocations: 316.4 kB / 1.409 GB, free: 15.55 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.897, allocations: 6.596 MB / 1.415 GB, free: 8.805 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/0.8977, allocations: 1.044 MB / 1.416 GB, free: 7.734 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008074/0.8986, allocations: 279.1 kB / 1.416 GB, free: 7.457 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.8992, allocations: 411.3 kB / 1.417 GB, free: 7.055 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/0.8992, allocations: 0 / 1.417 GB, free: 7.055 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05731/0.9565, allocations: 22.94 MB / 1.439 GB, free: 480 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.91, allocations: 9.266 kB / 1.439 GB, free: 476 kB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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