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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007334/0.007334, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.002049/0.002049, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 482.4 MB / 0.7548 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 75.58 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2744, allocations: 162.2 MB / 1.241 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006943/0.2813, allocations: 5.009 MB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1709/0.4522, allocations: 150.7 MB / 1.394 GB, free: 12.93 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.453, allocations: 15.94 kB / 1.394 GB, free: 12.92 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.4535, allocations: 198.1 kB / 1.394 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.4551, allocations: 0.5624 MB / 1.394 GB, free: 12.16 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.457, allocations: 0.8841 MB / 1.395 GB, free: 11.28 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.4586, allocations: 1.471 MB / 1.397 GB, free: 9.805 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008688/0.4594, allocations: 0.5985 MB / 1.397 GB, free: 9.18 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006094/0.46, allocations: 0.5099 MB / 1.398 GB, free: 8.668 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.4607, allocations: 0.5446 MB / 1.398 GB, free: 8.121 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.4609, allocations: 120 kB / 1.398 GB, free: 8.004 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008442/0.4618, allocations: 0.5035 MB / 1.399 GB, free: 7.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.4621, allocations: 311 kB / 1.399 GB, free: 7.195 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.4627, allocations: 0.5947 MB / 1.4 GB, free: 6.598 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.4646, allocations: 1.731 MB / 1.401 GB, free: 4.859 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.4646, allocations: 4 kB / 1.401 GB, free: 4.855 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4646, allocations: 3.938 kB / 1.401 GB, free: 4.852 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.4646, allocations: 0 / 1.401 GB, free: 4.852 MB / 1.123 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.002759/0.4674, allocations: 1.54 MB / 1.403 GB, free: 3.258 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4674, allocations: 12.03 kB / 1.403 GB, free: 3.246 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.4676, allocations: 139.8 kB / 1.403 GB, free: 3.102 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009496/0.4686, allocations: 200 kB / 1.403 GB, free: 2.906 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4698, allocations: 0.7901 MB / 1.404 GB, free: 2.074 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.708e-05/0.4699, allocations: 66 kB / 1.404 GB, free: 2.008 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.47, allocations: 92 kB / 1.404 GB, free: 1.918 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.4718, allocations: 0.9808 MB / 1.405 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.4718, allocations: 0 / 1.405 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.4719, allocations: 36 kB / 1.405 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.4719, allocations: 24 kB / 1.405 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.474, allocations: 1.159 MB / 1.406 GB, free: 15.68 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.4786, allocations: 2.939 MB / 1.409 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.4809, allocations: 0.9771 MB / 1.41 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/0.4815, allocations: 326.7 kB / 1.41 GB, free: 11.28 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.458e-05/0.4816, allocations: 38.73 kB / 1.41 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.4826, allocations: 0.5448 MB / 1.411 GB, free: 10.69 MB / 1.139 GB Notification: Performance of pre-optimization done (n=88): time 2.114e-06/0.4827, allocations: 0 / 1.411 GB, free: 10.69 MB / 1.139 GB Notification: Performance of matching and sorting (n=88): time 0.003576/0.4862, allocations: 1.302 MB / 1.412 GB, free: 9.359 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.4864, allocations: 188.9 kB / 1.412 GB, free: 9.129 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008631/0.4872, allocations: 0.6567 MB / 1.413 GB, free: 8.465 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.4873, allocations: 49.7 kB / 1.413 GB, free: 8.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.4877, allocations: 405.2 kB / 1.414 GB, free: 8.008 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.4879, allocations: 297.5 kB / 1.414 GB, free: 7.715 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.4882, allocations: 162.6 kB / 1.414 GB, free: 7.551 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.4884, allocations: 394.7 kB / 1.414 GB, free: 7.156 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.489, allocations: 269.9 kB / 1.415 GB, free: 6.895 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000741/0.4898, allocations: 386.5 kB / 1.415 GB, free: 6.488 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.4911, allocations: 0.6281 MB / 1.416 GB, free: 5.852 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4911, allocations: 0 / 1.416 GB, free: 5.852 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002156/0.4933, allocations: 0.8764 MB / 1.416 GB, free: 4.965 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4933, allocations: 4.094 kB / 1.416 GB, free: 4.961 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4933, allocations: 4 kB / 1.416 GB, free: 4.957 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.4939, allocations: 76.78 kB / 1.417 GB, free: 4.879 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.4947, allocations: 171.8 kB / 1.417 GB, free: 4.711 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.4969, allocations: 1.641 MB / 1.418 GB, free: 2.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.4977, allocations: 99.45 kB / 1.418 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.4978, allocations: 35.97 kB / 1.418 GB, free: 2.797 MB / 1.139 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.000393/0.4982, allocations: 267.4 kB / 1.419 GB, free: 2.527 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.4984, allocations: 95.42 kB / 1.419 GB, free: 2.434 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.5012, allocations: 1.191 MB / 1.42 GB, free: 1.223 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.5012, allocations: 8 kB / 1.42 GB, free: 1.215 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5013, allocations: 4 kB / 1.42 GB, free: 1.211 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5013, allocations: 3.984 kB / 1.42 GB, free: 1.207 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.505, allocations: 2.107 MB / 1.422 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.505, allocations: 0 / 1.422 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.5057, allocations: 175.7 kB / 1.422 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.5062, allocations: 76.72 kB / 1.422 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.5063, allocations: 23.98 kB / 1.422 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.5084, allocations: 1.662 MB / 1.424 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5084, allocations: 0 / 1.424 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.5108, allocations: 1.096 MB / 1.425 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.5112, allocations: 292.1 kB / 1.425 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.5113, allocations: 27.94 kB / 1.425 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007409/0.5121, allocations: 68.06 kB / 1.425 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.5123, allocations: 84.81 kB / 1.425 GB, free: 11.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/0.5124, allocations: 43.97 kB / 1.425 GB, free: 11.32 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006178/0.513, allocations: 479 kB / 1.426 GB, free: 10.86 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/0.513, allocations: 4 kB / 1.426 GB, free: 10.85 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008281/0.5138, allocations: 339.1 kB / 1.426 GB, free: 10.52 MB / 1.154 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.004509/0.5183, allocations: 2.17 MB / 1.428 GB, free: 8.508 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.5202, allocations: 0.8702 MB / 1.429 GB, free: 7.621 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5202, allocations: 4 kB / 1.429 GB, free: 7.617 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5213, allocations: 0.5667 MB / 1.43 GB, free: 7.039 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.5226, allocations: 312.9 kB / 1.43 GB, free: 6.758 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.5338, allocations: 6.579 MB / 1.436 GB, free: 28 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.5345, allocations: 1.048 MB / 1.437 GB, free: 14.95 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007988/0.5353, allocations: 287 kB / 1.438 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006384/0.536, allocations: 411.3 kB / 1.438 GB, free: 14.26 MB / 1.17 GB Notification: Performance of SimCode: time 2.71e-07/0.536, allocations: 0 / 1.438 GB, free: 14.26 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/0.5936, allocations: 22.94 MB / 1.461 GB, free: 7.656 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.52, allocations: 7.797 kB / 1.461 GB, free: 7.652 MB / 1.186 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 400 --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