Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.848/2.848, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 71.08 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2874, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006809/0.2942, allocations: 4.522 MB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1656/0.4598, allocations: 132.9 MB / 1.417 GB, free: 2.559 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007963/0.4606, allocations: 19.88 kB / 1.417 GB, free: 2.539 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.4611, allocations: 210.1 kB / 1.417 GB, free: 2.332 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.4629, allocations: 0.601 MB / 1.418 GB, free: 1.734 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.4648, allocations: 0.8649 MB / 1.418 GB, free: 0.875 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.4665, allocations: 1.487 MB / 1.42 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.4672, allocations: 398 kB / 1.42 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007605/0.4679, allocations: 0.5411 MB / 1.421 GB, free: 14.42 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006461/0.4686, allocations: 0.4937 MB / 1.421 GB, free: 13.93 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.4688, allocations: 120 kB / 1.421 GB, free: 13.81 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009631/0.4697, allocations: 0.4918 MB / 1.422 GB, free: 13.32 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.47, allocations: 322.9 kB / 1.422 GB, free: 13 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.4705, allocations: 485.6 kB / 1.423 GB, free: 12.52 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.4726, allocations: 1.759 MB / 1.424 GB, free: 10.76 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4726, allocations: 0 / 1.424 GB, free: 10.76 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4726, allocations: 0 / 1.424 GB, free: 10.76 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.4726, allocations: 0 / 1.424 GB, free: 10.76 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002714/0.4753, allocations: 1.468 MB / 1.426 GB, free: 9.254 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4754, allocations: 15.97 kB / 1.426 GB, free: 9.238 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.4755, allocations: 139.7 kB / 1.426 GB, free: 9.094 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.4773, allocations: 268 kB / 1.426 GB, free: 8.832 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.4786, allocations: 0.7297 MB / 1.427 GB, free: 8.078 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.4787, allocations: 70 kB / 1.427 GB, free: 8.008 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.4788, allocations: 87.92 kB / 1.427 GB, free: 7.922 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.4806, allocations: 1.212 MB / 1.428 GB, free: 6.609 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4806, allocations: 4 kB / 1.428 GB, free: 6.605 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/0.4807, allocations: 43.98 kB / 1.428 GB, free: 6.562 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.4808, allocations: 20 kB / 1.428 GB, free: 6.543 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.4826, allocations: 1.112 MB / 1.429 GB, free: 5.43 MB / 1.123 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.004325/0.487, allocations: 2.38 MB / 1.432 GB, free: 2.984 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.4885, allocations: 0.7874 MB / 1.432 GB, free: 2.184 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.4891, allocations: 298.6 kB / 1.433 GB, free: 1.891 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.024e-05/0.4892, allocations: 28.62 kB / 1.433 GB, free: 1.863 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.4902, allocations: 0.6288 MB / 1.433 GB, free: 1.191 MB / 1.123 GB Notification: Performance of pre-optimization done (n=88): time 2.705e-06/0.4902, allocations: 0 / 1.433 GB, free: 1.191 MB / 1.123 GB Notification: Performance of matching and sorting (n=88): time 0.003382/0.4935, allocations: 1.227 MB / 1.435 GB, free: 15.96 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.4937, allocations: 200.9 kB / 1.435 GB, free: 15.71 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.4946, allocations: 0.6802 MB / 1.435 GB, free: 15.02 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.4946, allocations: 41.7 kB / 1.435 GB, free: 14.98 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.495, allocations: 421.1 kB / 1.436 GB, free: 14.56 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.4953, allocations: 297.6 kB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.4955, allocations: 158.6 kB / 1.436 GB, free: 14.11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.4957, allocations: 394.7 kB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.4963, allocations: 273.8 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.497, allocations: 0.5069 MB / 1.437 GB, free: 12.88 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.4982, allocations: 0.632 MB / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4982, allocations: 0 / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002063/0.5003, allocations: 0.8803 MB / 1.439 GB, free: 11.34 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5003, allocations: 6.188 kB / 1.439 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5003, allocations: 4.094 kB / 1.439 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/0.5009, allocations: 80.78 kB / 1.439 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/0.5016, allocations: 171.7 kB / 1.439 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.5037, allocations: 1.531 MB / 1.441 GB, free: 9.438 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.5045, allocations: 99.44 kB / 1.441 GB, free: 9.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.5045, allocations: 35.97 kB / 1.441 GB, free: 9.305 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: 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 (97): * Single equations (assignments): 96 * 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.0004476/0.505, allocations: 273.5 kB / 1.441 GB, free: 9.027 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.5052, allocations: 95.39 kB / 1.441 GB, free: 8.934 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.5078, allocations: 1.172 MB / 1.442 GB, free: 7.75 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5078, allocations: 8 kB / 1.442 GB, free: 7.742 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5078, allocations: 3.984 kB / 1.442 GB, free: 7.738 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.5079, allocations: 3.984 kB / 1.442 GB, free: 7.734 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5089, allocations: 0.7742 MB / 1.443 GB, free: 6.918 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5089, allocations: 0 / 1.443 GB, free: 6.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.5096, allocations: 151.8 kB / 1.443 GB, free: 6.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.51, allocations: 80.72 kB / 1.443 GB, free: 6.688 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.5101, allocations: 31.97 kB / 1.443 GB, free: 6.656 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.5121, allocations: 1.547 MB / 1.445 GB, free: 4.988 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5121, allocations: 0 / 1.445 GB, free: 4.988 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.5142, allocations: 1.002 MB / 1.446 GB, free: 3.965 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.5147, allocations: 219 kB / 1.446 GB, free: 3.75 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5149, allocations: 23.94 kB / 1.446 GB, free: 3.727 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.5155, allocations: 71.92 kB / 1.446 GB, free: 3.656 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.5157, allocations: 80.78 kB / 1.446 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/0.5158, allocations: 43.97 kB / 1.446 GB, free: 3.535 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006662/0.5164, allocations: 495 kB / 1.447 GB, free: 3.055 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5164, allocations: 4 kB / 1.447 GB, free: 3.051 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008498/0.5173, allocations: 335.2 kB / 1.447 GB, free: 2.723 MB / 1.139 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.004365/0.5217, allocations: 2.083 MB / 1.449 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.5235, allocations: 0.8273 MB / 1.45 GB, free: 15.97 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5235, allocations: 0 / 1.45 GB, free: 15.97 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.5245, allocations: 0.5276 MB / 1.45 GB, free: 15.44 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.5257, allocations: 311.6 kB / 1.451 GB, free: 15.16 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.5371, allocations: 6.601 MB / 1.457 GB, free: 8.402 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.5376, allocations: 458 kB / 1.458 GB, free: 7.926 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008868/0.5385, allocations: 283.1 kB / 1.458 GB, free: 7.645 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/0.5391, allocations: 415.2 kB / 1.458 GB, free: 7.238 MB / 1.154 GB Notification: Performance of SimCode: time 9.72e-07/0.5391, allocations: 0 / 1.458 GB, free: 7.238 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06303/0.6022, allocations: 24.73 MB / 1.482 GB, free: 14.85 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.06, allocations: 10.06 kB / 1.482 GB, free: 14.84 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.808502939064056]