Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 132 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.001133/0.001133, allocations: 198.1 kB / 16.53 MB, free: 6.391 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.175/1.175, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.406/2.406, allocations: 469.4 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.75 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2352, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00553/0.2408, allocations: 4.782 MB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1305/0.3712, allocations: 150.6 MB / 1.215 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006053/0.3719, allocations: 15.94 kB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.3723, allocations: 186.3 kB / 1.216 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.3737, allocations: 0.5343 MB / 1.216 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.3753, allocations: 0.8236 MB / 1.217 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.3763, allocations: 1.355 MB / 1.218 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006665/0.377, allocations: 0.5713 MB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.3774, allocations: 490.3 kB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.3778, allocations: 499.7 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.378, allocations: 112 kB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.3786, allocations: 455.7 kB / 1.22 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.3788, allocations: 295 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.3792, allocations: 0.5519 MB / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3804, allocations: 1.566 MB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3805, allocations: 4 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3805, allocations: 4 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3805, allocations: 0 / 1.223 GB, free: 11.06 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00207/0.3825, allocations: 1.414 MB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.3826, allocations: 8.031 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.3827, allocations: 131.3 kB / 1.224 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.3836, allocations: 183.5 kB / 1.224 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008544/0.3844, allocations: 0.7458 MB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.3845, allocations: 58 kB / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.3846, allocations: 80 kB / 1.225 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.3858, allocations: 0.9028 MB / 1.226 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3859, allocations: 0 / 1.226 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.385e-05/0.3859, allocations: 36 kB / 1.226 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.386, allocations: 20 kB / 1.226 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.3875, allocations: 1.108 MB / 1.227 GB, free: 6.242 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.003266/0.3907, allocations: 2.677 MB / 1.23 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3921, allocations: 0.8649 MB / 1.231 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.3926, allocations: 298.7 kB / 1.231 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.505e-05/0.3926, allocations: 32.55 kB / 1.231 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007518/0.3934, allocations: 495.1 kB / 1.231 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.853e-06/0.3934, allocations: 4 kB / 1.231 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002807/0.3962, allocations: 1.178 MB / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.3963, allocations: 200.6 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/0.3969, allocations: 0.6138 MB / 1.233 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.397, allocations: 41.7 kB / 1.233 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.3972, allocations: 388.3 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.3974, allocations: 260.2 kB / 1.234 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.3976, allocations: 142.5 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3977, allocations: 386.7 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.3982, allocations: 249.9 kB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.3987, allocations: 354.6 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009446/0.3997, allocations: 0.576 MB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3997, allocations: 0 / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001638/0.4013, allocations: 0.7941 MB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4013, allocations: 5.719 kB / 1.236 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4013, allocations: 0 / 1.236 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.4019, allocations: 80.88 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.4024, allocations: 151.8 kB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.4043, allocations: 1.632 MB / 1.238 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.4049, allocations: 87.36 kB / 1.238 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.4049, allocations: 31.97 kB / 1.238 GB, free: 10.3 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0002903/0.4052, allocations: 269.2 kB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.4054, allocations: 83.12 kB / 1.239 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.4075, allocations: 1.057 MB / 1.24 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.4075, allocations: 12 kB / 1.24 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4075, allocations: 3.938 kB / 1.24 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.4075, allocations: 7.922 kB / 1.24 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.4102, allocations: 1.91 MB / 1.242 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4102, allocations: 0 / 1.242 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.4107, allocations: 143.8 kB / 1.242 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.4112, allocations: 76.78 kB / 1.242 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.4112, allocations: 23.98 kB / 1.242 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.4129, allocations: 1.654 MB / 1.244 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4129, allocations: 4.031 kB / 1.244 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.4146, allocations: 0.9804 MB / 1.244 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.4149, allocations: 267.7 kB / 1.245 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.415, allocations: 20 kB / 1.245 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.4156, allocations: 63.92 kB / 1.245 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4157, allocations: 72.91 kB / 1.245 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.4158, allocations: 31.97 kB / 1.245 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004486/0.4162, allocations: 451 kB / 1.245 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4163, allocations: 0 / 1.245 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006413/0.4169, allocations: 311.3 kB / 1.246 GB, free: 2.629 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002966/0.4199, allocations: 2.05 MB / 1.248 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3711/0.791, allocations: 0.9743 MB / 1.249 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7911, allocations: 2.25 kB / 1.249 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009384/0.792, allocations: 0.5091 MB / 1.249 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.7933, allocations: 297.7 kB / 1.249 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008557/0.8018, allocations: 6.351 MB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.8022, allocations: 1.015 MB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006654/0.8029, allocations: 264.4 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.8032, allocations: 376.7 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.8032, allocations: 0 / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.8455, allocations: 21.1 MB / 1.278 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.12, allocations: 18.22 kB / 1.278 GB, free: 178.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches