Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_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.005927/0.005927, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001341/0.001341, allocations: 190 kB / 16.67 MB, free: 5.977 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 62.38 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2218, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005778/0.2276, allocations: 4.507 MB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1431/0.3707, allocations: 150.7 MB / 1.239 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006961/0.3715, allocations: 19.88 kB / 1.239 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005905/0.3721, allocations: 178.3 kB / 1.239 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.3738, allocations: 0.5253 MB / 1.24 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.3757, allocations: 0.8769 MB / 1.241 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3772, allocations: 1.382 MB / 1.242 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000898/0.3781, allocations: 0.6371 MB / 1.243 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/0.3787, allocations: 0.4944 MB / 1.243 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.3794, allocations: 0.5328 MB / 1.244 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.3796, allocations: 120 kB / 1.244 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008496/0.3804, allocations: 0.5035 MB / 1.244 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.3807, allocations: 311 kB / 1.244 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005231/0.3813, allocations: 0.5789 MB / 1.245 GB, free: 0 / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.3831, allocations: 1.691 MB / 1.247 GB, free: 14.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3831, allocations: 4 kB / 1.247 GB, free: 14.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3831, allocations: 0 / 1.247 GB, free: 14.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.364e-05/0.3832, allocations: 0 / 1.247 GB, free: 14.3 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.002763/0.3859, allocations: 1.503 MB / 1.248 GB, free: 12.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.386, allocations: 12.03 kB / 1.248 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3861, allocations: 139.8 kB / 1.248 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/0.3871, allocations: 183.4 kB / 1.248 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3882, allocations: 0.7894 MB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.3883, allocations: 74 kB / 1.249 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3884, allocations: 87.98 kB / 1.249 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.39, allocations: 0.973 MB / 1.25 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.39, allocations: 0 / 1.25 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.3901, allocations: 36 kB / 1.25 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3901, allocations: 24 kB / 1.25 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3919, allocations: 1.163 MB / 1.252 GB, free: 9.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.396, allocations: 2.683 MB / 1.254 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.398, allocations: 0.9771 MB / 1.255 GB, free: 5.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.3986, allocations: 326.7 kB / 1.255 GB, free: 5.109 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.3987, allocations: 38.73 kB / 1.255 GB, free: 5.074 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008749/0.3996, allocations: 0.5276 MB / 1.256 GB, free: 4.523 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.364e-06/0.3996, allocations: 3.938 kB / 1.256 GB, free: 4.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003162/0.4028, allocations: 1.294 MB / 1.257 GB, free: 3.203 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.4029, allocations: 192.9 kB / 1.257 GB, free: 2.969 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/0.4037, allocations: 0.649 MB / 1.258 GB, free: 2.316 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.4037, allocations: 45.7 kB / 1.258 GB, free: 2.266 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.404, allocations: 404.5 kB / 1.258 GB, free: 1.863 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.4042, allocations: 279.9 kB / 1.259 GB, free: 1.586 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.4045, allocations: 174.4 kB / 1.259 GB, free: 1.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4047, allocations: 390.8 kB / 1.259 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/0.4052, allocations: 269.9 kB / 1.26 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.4058, allocations: 378.5 kB / 1.26 GB, free: 364 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4199/0.8257, allocations: 0.629 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.8258, allocations: 4.469 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002067/0.8278, allocations: 0.86 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.8279, allocations: 8.016 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8279, allocations: 1.594 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.8285, allocations: 85.77 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.8292, allocations: 167.7 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.8309, allocations: 1.623 MB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.8316, allocations: 103.2 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.8317, allocations: 38.56 kB / 1.263 GB, free: 171.9 MB / 1.014 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.000406/0.8321, allocations: 271 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.8323, allocations: 87.5 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.8348, allocations: 1.192 MB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.8349, allocations: 14.84 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8349, allocations: 7.594 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.8349, allocations: 6.891 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.8382, allocations: 2.105 MB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8383, allocations: 0 / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.8389, allocations: 170.6 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.8393, allocations: 72.52 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.8394, allocations: 30.44 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.8409, allocations: 1.66 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8409, allocations: 1.75 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.843, allocations: 1.087 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.8434, allocations: 292.7 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.8435, allocations: 24.02 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/0.8442, allocations: 69.78 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.8444, allocations: 81.06 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.068e-05/0.8445, allocations: 45.45 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005766/0.845, allocations: 475.1 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.845, allocations: 0.6562 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000878/0.8459, allocations: 333 kB / 1.271 GB, free: 168.2 MB / 1.014 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.003545/0.8495, allocations: 2.167 MB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.8514, allocations: 0.8705 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8514, allocations: 0.5938 kB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009186/0.8523, allocations: 0.5642 MB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.8534, allocations: 303.8 kB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.8636, allocations: 6.655 MB / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.8641, allocations: 1.049 MB / 1.282 GB, free: 162.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000752/0.8649, allocations: 269 kB / 1.283 GB, free: 162.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.8654, allocations: 411 kB / 1.283 GB, free: 161.9 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.8654, allocations: 4.047 kB / 1.283 GB, free: 161.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04672/0.9121, allocations: 22.57 MB / 1.305 GB, free: 154.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.72, allocations: 6.438 kB / 1.305 GB, free: 154.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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,solHouAng.solHouAng