Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.00484/0.004841, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001039/0.001039, allocations: 201.9 kB / 16.68 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.28/2.28, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 65.97 kB / 0.9503 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.229, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006711/0.2357, allocations: 5.448 MB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1422/0.378, allocations: 151.1 MB / 1.24 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009926/0.379, allocations: 19.88 kB / 1.24 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000806/0.3799, allocations: 209.9 kB / 1.241 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.3822, allocations: 0.6728 MB / 1.241 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.3845, allocations: 0.9894 MB / 1.242 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.3867, allocations: 1.892 MB / 1.244 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.3884, allocations: 1.08 MB / 1.245 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.3897, allocations: 0.794 MB / 1.246 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.3908, allocations: 0.8751 MB / 1.247 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004458/0.3913, allocations: 204 kB / 1.247 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.3926, allocations: 0.566 MB / 1.247 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006003/0.3932, allocations: 490.3 kB / 1.248 GB, free: 13 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.3943, allocations: 0.8978 MB / 1.249 GB, free: 12.1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.3972, allocations: 2.497 MB / 1.251 GB, free: 9.598 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3972, allocations: 0 / 1.251 GB, free: 9.598 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3973, allocations: 0 / 1.251 GB, free: 9.598 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.58e-05/0.3973, allocations: 4 kB / 1.251 GB, free: 9.594 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004564/0.4019, allocations: 2.023 MB / 1.253 GB, free: 7.508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.402, allocations: 8.031 kB / 1.253 GB, free: 7.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003613/0.4023, allocations: 231.9 kB / 1.253 GB, free: 7.262 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.4035, allocations: 258.5 kB / 1.254 GB, free: 7.008 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.4052, allocations: 0.9887 MB / 1.255 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/0.4053, allocations: 115.1 kB / 1.255 GB, free: 5.863 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.4055, allocations: 148 kB / 1.255 GB, free: 5.719 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.4083, allocations: 1.592 MB / 1.256 GB, free: 4.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.4084, allocations: 0 / 1.256 GB, free: 4.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.4086, allocations: 68 kB / 1.257 GB, free: 4.004 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.4086, allocations: 36 kB / 1.257 GB, free: 3.969 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.4114, allocations: 1.639 MB / 1.258 GB, free: 2.324 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.461/0.8724, allocations: 4.063 MB / 1.262 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.8746, allocations: 1.195 MB / 1.263 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.8754, allocations: 478.5 kB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.8755, allocations: 46.81 kB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.8768, allocations: 0.7803 MB / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=128): time 2.915e-06/0.8769, allocations: 0 / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=128): time 0.004409/0.8813, allocations: 1.833 MB / 1.266 GB, free: 170.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.8813, allocations: 195.4 kB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.8825, allocations: 0.8659 MB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.99e-05/0.8826, allocations: 53.5 kB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.883, allocations: 0.6102 MB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.8833, allocations: 410.2 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.8836, allocations: 240.9 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.8837, allocations: 356 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.8845, allocations: 425.8 kB / 1.269 GB, free: 168.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009638/0.8855, allocations: 0.557 MB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.8873, allocations: 0.953 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8873, allocations: 0.8125 kB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003082/0.8904, allocations: 1.288 MB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.8904, allocations: 7.797 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.8904, allocations: 1.188 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/0.891, allocations: 89.95 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.8922, allocations: 253.3 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.894, allocations: 1.647 MB / 1.274 GB, free: 165.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.8951, allocations: 148.7 kB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.8952, allocations: 51.53 kB / 1.274 GB, free: 165.8 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: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0006027/0.8958, allocations: 353.1 kB / 1.275 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.896, allocations: 120.4 kB / 1.275 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.8994, allocations: 1.7 MB / 1.276 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.8994, allocations: 16.17 kB / 1.276 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.8995, allocations: 3.938 kB / 1.276 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.8995, allocations: 11.2 kB / 1.276 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.9012, allocations: 1.403 MB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9012, allocations: 5.484 kB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/0.9022, allocations: 218.3 kB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005513/0.9028, allocations: 70.3 kB / 1.278 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.9029, allocations: 41.61 kB / 1.278 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.9044, allocations: 1.677 MB / 1.28 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9044, allocations: 0.5156 kB / 1.28 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.9071, allocations: 1.408 MB / 1.281 GB, free: 162 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.9076, allocations: 369.2 kB / 1.281 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.9078, allocations: 49.92 kB / 1.282 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008989/0.9087, allocations: 79.61 kB / 1.282 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.9089, allocations: 114.2 kB / 1.282 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.909, allocations: 55.86 kB / 1.282 GB, free: 161.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008393/0.9099, allocations: 0.6509 MB / 1.282 GB, free: 161.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9099, allocations: 0 / 1.282 GB, free: 161.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001094/0.911, allocations: 462.5 kB / 1.283 GB, free: 161.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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003983/0.915, allocations: 2.478 MB / 1.285 GB, free: 160 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002324/0.9173, allocations: 1.235 MB / 1.286 GB, free: 159.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9173, allocations: 0 / 1.286 GB, free: 159.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.9185, allocations: 0.7478 MB / 1.287 GB, free: 159.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.9198, allocations: 328.2 kB / 1.287 GB, free: 159.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.9347, allocations: 9.375 MB / 1.297 GB, free: 154.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.9354, allocations: 1.237 MB / 1.298 GB, free: 153.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001083/0.9365, allocations: 332 kB / 1.298 GB, free: 153.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007515/0.9373, allocations: 0.6295 MB / 1.299 GB, free: 153.4 MB / 1.014 GB Notification: Performance of SimCode: time 6.52e-07/0.9373, allocations: 0 / 1.299 GB, free: 153.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04755/0.9848, allocations: 30.19 MB / 1.328 GB, free: 130.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.31, allocations: 18.33 kB / 1.328 GB, free: 130.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches