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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001182/0.001182, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 197 kB / 16.53 MB, free: 6.664 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.419/2.419, allocations: 469.4 MB / 0.742 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 65.33 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2394, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005572/0.245, allocations: 5.012 MB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1322/0.3772, allocations: 150.7 MB / 1.216 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007749/0.378, allocations: 19.88 kB / 1.216 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006489/0.3787, allocations: 194.2 kB / 1.216 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.3805, allocations: 0.5717 MB / 1.217 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3825, allocations: 0.8757 MB / 1.217 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.3839, allocations: 1.452 MB / 1.219 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008384/0.3847, allocations: 0.6067 MB / 1.219 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006623/0.3854, allocations: 0.5177 MB / 1.22 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.386, allocations: 0.5329 MB / 1.22 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.3862, allocations: 124 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.387, allocations: 487.6 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.3873, allocations: 311 kB / 1.221 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.3878, allocations: 0.5946 MB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.3893, allocations: 1.679 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3893, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3893, allocations: 4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.3893, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 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.002271/0.3916, allocations: 1.504 MB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3916, allocations: 8.031 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.3918, allocations: 143.8 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/0.3926, allocations: 195.3 kB / 1.225 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.3935, allocations: 0.7622 MB / 1.226 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.3936, allocations: 66 kB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.866e-05/0.3937, allocations: 84 kB / 1.226 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.395, allocations: 0.9769 MB / 1.227 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3951, allocations: 0 / 1.227 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.3952, allocations: 40 kB / 1.227 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.3952, allocations: 24 kB / 1.227 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.3968, allocations: 1.159 MB / 1.228 GB, free: 5.133 MB / 0.9825 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.003639/0.4004, allocations: 2.923 MB / 1.231 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.4023, allocations: 0.9772 MB / 1.232 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.4029, allocations: 326.7 kB / 1.232 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/0.4029, allocations: 38.66 kB / 1.233 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008187/0.4038, allocations: 0.5391 MB / 1.233 GB, free: 184 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.044e-06/0.4038, allocations: 0 / 1.233 GB, free: 184 kB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.002968/0.4067, allocations: 1.298 MB / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.4068, allocations: 196.9 kB / 1.234 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.4075, allocations: 0.649 MB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.4076, allocations: 45.7 kB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.4078, allocations: 404.4 kB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.408, allocations: 283.9 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.4082, allocations: 162.5 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4084, allocations: 390.7 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.4089, allocations: 265.9 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.4095, allocations: 394.5 kB / 1.237 GB, free: 12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.4105, allocations: 0.632 MB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4105, allocations: 0 / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001764/0.4123, allocations: 0.8721 MB / 1.238 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4123, allocations: 4 kB / 1.238 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4123, allocations: 0 / 1.238 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.4129, allocations: 80.84 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.4135, allocations: 163.8 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.4153, allocations: 1.634 MB / 1.24 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.416, allocations: 109.1 kB / 1.24 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.4161, allocations: 31.97 kB / 1.24 GB, free: 8.312 MB / 0.9981 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.0003309/0.4164, allocations: 267.9 kB / 1.241 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4166, allocations: 94.95 kB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.419, allocations: 1.195 MB / 1.242 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.419, allocations: 11.98 kB / 1.242 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.419, allocations: 4 kB / 1.242 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.419, allocations: 3.984 kB / 1.242 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.422, allocations: 2.102 MB / 1.244 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.422, allocations: 0 / 1.244 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.4226, allocations: 171.7 kB / 1.244 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004069/0.423, allocations: 72.78 kB / 1.244 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.4231, allocations: 23.98 kB / 1.244 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.4247, allocations: 1.662 MB / 1.246 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4247, allocations: 0 / 1.246 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.4266, allocations: 1.097 MB / 1.247 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.4269, allocations: 279.7 kB / 1.247 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4271, allocations: 27.98 kB / 1.247 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.4277, allocations: 63.92 kB / 1.247 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.4279, allocations: 84.83 kB / 1.247 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.428, allocations: 43.97 kB / 1.247 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004871/0.4285, allocations: 479 kB / 1.248 GB, free: 404 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4285, allocations: 0 / 1.248 GB, free: 404 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000786/0.4293, allocations: 343.2 kB / 1.248 GB, free: 60 kB / 0.9981 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.4129/0.8422, allocations: 2.163 MB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002451/0.8447, allocations: 1.097 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8447, allocations: 0.9062 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.8456, allocations: 0.5697 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.8468, allocations: 306.7 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.8551, allocations: 6.808 MB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.8555, allocations: 1.05 MB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007302/0.8562, allocations: 280.5 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.8566, allocations: 417.2 kB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.8566, allocations: 0 / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.9021, allocations: 22.68 MB / 1.283 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.3, allocations: 6.031 kB / 1.283 GB, free: 175.9 MB / 0.9981 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