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.00583/0.00583, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001351/0.001351, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.059/2.059, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.88 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7261/0.7274, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005037/0.7325, allocations: 4.51 MB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.8968, allocations: 150.7 MB / 1.239 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.8978, allocations: 15.31 kB / 1.239 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.8984, allocations: 180.6 kB / 1.239 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.9001, allocations: 0.528 MB / 1.24 GB, free: 12 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.9022, allocations: 0.8833 MB / 1.241 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.9036, allocations: 1.387 MB / 1.242 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008862/0.9045, allocations: 0.6494 MB / 1.243 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.9052, allocations: 0.5022 MB / 1.243 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.9058, allocations: 0.5301 MB / 1.244 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.9059, allocations: 122.7 kB / 1.244 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009172/0.9068, allocations: 0.4996 MB / 1.244 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.9071, allocations: 313.9 kB / 1.244 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004677/0.9076, allocations: 0.568 MB / 1.245 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.9093, allocations: 1.709 MB / 1.247 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9094, allocations: 4 kB / 1.247 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9094, allocations: 3.938 kB / 1.247 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.9094, allocations: 0 / 1.247 GB, free: 10.68 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.002391/0.9118, allocations: 1.532 MB / 1.248 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9118, allocations: 12.03 kB / 1.248 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.912, allocations: 139.8 kB / 1.248 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.9128, allocations: 196 kB / 1.249 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.9139, allocations: 0.7863 MB / 1.249 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.914, allocations: 70 kB / 1.249 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.9141, allocations: 91.92 kB / 1.249 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.9156, allocations: 0.9769 MB / 1.25 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.9157, allocations: 0 / 1.25 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.9157, allocations: 36 kB / 1.25 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.9158, allocations: 24 kB / 1.25 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.9175, allocations: 1.163 MB / 1.252 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.9213, allocations: 2.68 MB / 1.254 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.9233, allocations: 0.9771 MB / 1.255 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.9238, allocations: 330.7 kB / 1.255 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/0.9239, allocations: 38.73 kB / 1.256 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000843/0.9248, allocations: 0.5237 MB / 1.256 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 1.944e-06/0.9248, allocations: 0 / 1.256 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.002998/0.9278, allocations: 1.302 MB / 1.257 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/0.9279, allocations: 192.9 kB / 1.257 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/0.9286, allocations: 0.6606 MB / 1.258 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.9287, allocations: 45.7 kB / 1.258 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.9289, allocations: 409.2 kB / 1.259 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.9291, allocations: 293.5 kB / 1.259 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.9294, allocations: 166.6 kB / 1.259 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9295, allocations: 390.7 kB / 1.259 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.93, allocations: 261.9 kB / 1.26 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.9306, allocations: 394.5 kB / 1.26 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.9317, allocations: 0.632 MB / 1.261 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9318, allocations: 0 / 1.261 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001866/0.9336, allocations: 0.8726 MB / 1.261 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.9337, allocations: 4 kB / 1.261 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.9337, allocations: 4 kB / 1.261 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005566/0.9342, allocations: 80.78 kB / 1.262 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.9349, allocations: 171.8 kB / 1.262 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.9369, allocations: 1.63 MB / 1.263 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.9375, allocations: 95.45 kB / 1.263 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.9376, allocations: 44.03 kB / 1.263 GB, free: 8.969 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.000339/0.938, allocations: 272.7 kB / 1.264 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.9381, allocations: 91.42 kB / 1.264 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.9405, allocations: 1.191 MB / 1.265 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.9405, allocations: 16 kB / 1.265 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.9405, allocations: 0 / 1.265 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.9406, allocations: 3.984 kB / 1.265 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/0.9437, allocations: 2.111 MB / 1.267 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.9437, allocations: 0 / 1.267 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.9443, allocations: 167.8 kB / 1.267 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004039/0.9447, allocations: 72.78 kB / 1.267 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.9448, allocations: 31.98 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.9465, allocations: 1.67 MB / 1.269 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9465, allocations: 0 / 1.269 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.9485, allocations: 1.092 MB / 1.27 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.9488, allocations: 300.1 kB / 1.27 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.9489, allocations: 20 kB / 1.27 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.9497, allocations: 74.59 kB / 1.27 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.9498, allocations: 84.83 kB / 1.27 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.9499, allocations: 43.91 kB / 1.27 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000507/0.9504, allocations: 475 kB / 1.271 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9504, allocations: 0 / 1.271 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007756/0.9512, allocations: 335.1 kB / 1.271 GB, free: 0.6914 MB / 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.003391/0.9546, allocations: 2.172 MB / 1.273 GB, free: 14.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.9562, allocations: 0.8702 MB / 1.274 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9562, allocations: 4.188 kB / 1.274 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008946/0.9571, allocations: 0.5587 MB / 1.275 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.9583, allocations: 296.5 kB / 1.275 GB, free: 12.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.9688, allocations: 6.688 MB / 1.282 GB, free: 6.098 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.9695, allocations: 1.049 MB / 1.283 GB, free: 5.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008171/0.9703, allocations: 275 kB / 1.283 GB, free: 4.746 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/0.9709, allocations: 411.3 kB / 1.283 GB, free: 4.344 MB / 1.014 GB Notification: Performance of SimCode: time 9.02e-07/0.9709, allocations: 0 / 1.283 GB, free: 4.344 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/1.015, allocations: 22.55 MB / 1.305 GB, free: 14.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.77, allocations: 11.31 kB / 1.305 GB, free: 14.12 MB / 1.045 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