Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001213/0.001213, 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.001269/0.001269, allocations: 194.3 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.403/2.403, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 62.16 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2342, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00557/0.2398, allocations: 4.918 MB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1317/0.3715, allocations: 150.6 MB / 1.216 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006952/0.3722, allocations: 11.94 kB / 1.216 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.3728, allocations: 198.1 kB / 1.216 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.3745, allocations: 0.5494 MB / 1.216 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.3762, allocations: 0.851 MB / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.3775, allocations: 1.413 MB / 1.219 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007141/0.3783, allocations: 0.5909 MB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.3788, allocations: 0.4944 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.3793, allocations: 0.5173 MB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.3794, allocations: 116 kB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007402/0.3802, allocations: 467.6 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.3805, allocations: 303.1 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.3809, allocations: 0.5713 MB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3822, allocations: 1.624 MB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3823, allocations: 4 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3823, allocations: 3.938 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3823, allocations: 0 / 1.223 GB, free: 10.65 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002216/0.3845, allocations: 1.455 MB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3846, allocations: 12.03 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.3847, allocations: 143.5 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.3855, allocations: 187.4 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008561/0.3864, allocations: 0.7661 MB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.3864, allocations: 66 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.413e-05/0.3865, allocations: 84 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3879, allocations: 0.9379 MB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3879, allocations: 0 / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.388, allocations: 36 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.388, allocations: 20 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.3896, allocations: 1.128 MB / 1.228 GB, free: 5.684 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.003416/0.393, allocations: 2.751 MB / 1.23 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.3944, allocations: 0.912 MB / 1.231 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.3949, allocations: 314.6 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.226e-05/0.395, allocations: 40.67 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008359/0.3958, allocations: 0.5158 MB / 1.232 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.064e-06/0.3959, allocations: 0 / 1.232 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.00293/0.3988, allocations: 1.255 MB / 1.233 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.3989, allocations: 188.9 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.3995, allocations: 0.645 MB / 1.234 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.3996, allocations: 41.7 kB / 1.234 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.3998, allocations: 396.5 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.4, allocations: 276 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.4002, allocations: 154.5 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4003, allocations: 382.8 kB / 1.235 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.4008, allocations: 253.9 kB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/0.4014, allocations: 374.5 kB / 1.236 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4024, allocations: 0.6047 MB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4024, allocations: 3.938 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001701/0.4041, allocations: 0.8254 MB / 1.237 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4041, allocations: 7.938 kB / 1.237 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.4042, allocations: 4 kB / 1.237 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.4047, allocations: 76.88 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.4053, allocations: 163.7 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.4071, allocations: 1.636 MB / 1.239 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.4078, allocations: 95.3 kB / 1.239 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.4078, allocations: 31.97 kB / 1.239 GB, free: 9.324 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: 18 (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 (91): * Single equations (assignments): 90 * 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.000306/0.4081, allocations: 263.1 kB / 1.24 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.4083, allocations: 86.97 kB / 1.24 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.4105, allocations: 1.144 MB / 1.241 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4106, allocations: 12 kB / 1.241 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4106, allocations: 0 / 1.241 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.4106, allocations: 3.984 kB / 1.241 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.4134, allocations: 2.02 MB / 1.243 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4134, allocations: 0 / 1.243 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.4139, allocations: 155.7 kB / 1.243 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003935/0.4143, allocations: 72.78 kB / 1.243 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.4144, allocations: 31.91 kB / 1.243 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.416, allocations: 1.662 MB / 1.245 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.416, allocations: 3.984 kB / 1.245 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.4178, allocations: 1.043 MB / 1.246 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.4181, allocations: 279.7 kB / 1.246 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.4183, allocations: 23.98 kB / 1.246 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/0.4189, allocations: 61.34 kB / 1.246 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4191, allocations: 81.03 kB / 1.246 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.4191, allocations: 39.97 kB / 1.246 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004562/0.4196, allocations: 463 kB / 1.247 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4196, allocations: 0 / 1.247 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006999/0.4203, allocations: 335.2 kB / 1.247 GB, free: 1.316 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 (99): * Single equations (assignments): 92 * 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.4012/0.8216, allocations: 2.09 MB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.8242, allocations: 1.043 MB / 1.25 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.8242, allocations: 2.188 kB / 1.25 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008671/0.825, allocations: 0.5372 MB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.8263, allocations: 309.6 kB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/0.8349, allocations: 6.617 MB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.8353, allocations: 1.036 MB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000742/0.8361, allocations: 274.2 kB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.8365, allocations: 405 kB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.8365, allocations: 2.781 kB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/0.881, allocations: 22.02 MB / 1.28 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.13, allocations: 6.547 kB / 1.28 GB, free: 176.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches