Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001539/0.001539, allocations: 214.7 kB / 22.25 MB, free: 5.074 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.068/3.068, allocations: 0.49 GB / 0.7951 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_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.001981/0.001981, allocations: 76.98 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007079/0.3273, allocations: 5.069 MB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1734/0.5007, allocations: 154.3 MB / 1.482 GB, free: 1.953 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008019/0.5015, allocations: 23.81 kB / 1.482 GB, free: 1.93 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.5021, allocations: 206.1 kB / 1.482 GB, free: 1.727 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.5039, allocations: 0.5944 MB / 1.482 GB, free: 1.133 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.506, allocations: 0.8749 MB / 1.483 GB, free: 268 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.5079, allocations: 1.483 MB / 1.485 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008217/0.5087, allocations: 421.9 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008784/0.5096, allocations: 0.545 MB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007389/0.5103, allocations: 0.5406 MB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.5105, allocations: 124 kB / 1.486 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.5116, allocations: 0.5191 MB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.5119, allocations: 315 kB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006074/0.5125, allocations: 0.5946 MB / 1.488 GB, free: 11.7 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.5149, allocations: 1.739 MB / 1.489 GB, free: 9.953 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5149, allocations: 0 / 1.489 GB, free: 9.953 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5149, allocations: 0 / 1.489 GB, free: 9.953 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.858e-05/0.5149, allocations: 0 / 1.489 GB, free: 9.953 MB / 1.186 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.00292/0.5179, allocations: 1.476 MB / 1.491 GB, free: 8.441 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5179, allocations: 8.031 kB / 1.491 GB, free: 8.434 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.5181, allocations: 139.7 kB / 1.491 GB, free: 8.289 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.52, allocations: 268 kB / 1.491 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.5214, allocations: 0.7335 MB / 1.492 GB, free: 7.266 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.5214, allocations: 69.98 kB / 1.492 GB, free: 7.195 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5216, allocations: 84 kB / 1.492 GB, free: 7.113 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.5233, allocations: 0.973 MB / 1.493 GB, free: 6.102 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5233, allocations: 4 kB / 1.493 GB, free: 6.098 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.608e-05/0.5234, allocations: 39.98 kB / 1.493 GB, free: 6.059 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.5234, allocations: 24 kB / 1.493 GB, free: 6.035 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.5254, allocations: 1.155 MB / 1.494 GB, free: 4.875 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.5302, allocations: 2.869 MB / 1.497 GB, free: 1.879 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.5318, allocations: 0.7896 MB / 1.498 GB, free: 1.086 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/0.5324, allocations: 302.6 kB / 1.498 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.225e-05/0.5325, allocations: 40.67 kB / 1.498 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009341/0.5334, allocations: 0.5317 MB / 1.499 GB, free: 204 kB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 2.615e-06/0.5334, allocations: 0 / 1.499 GB, free: 204 kB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.00348/0.5369, allocations: 1.227 MB / 1.5 GB, free: 14.96 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.537, allocations: 196.9 kB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.538, allocations: 0.6841 MB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.5381, allocations: 45.7 kB / 1.501 GB, free: 13.98 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.5384, allocations: 417.1 kB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.5388, allocations: 293.5 kB / 1.501 GB, free: 13.28 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.539, allocations: 162.6 kB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.5392, allocations: 390.7 kB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.5398, allocations: 269.9 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.5405, allocations: 390.5 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.5417, allocations: 0.632 MB / 1.503 GB, free: 11.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5417, allocations: 4 kB / 1.503 GB, free: 11.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002239/0.5439, allocations: 0.8803 MB / 1.504 GB, free: 10.52 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5439, allocations: 9.875 kB / 1.504 GB, free: 10.51 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.544, allocations: 0 / 1.504 GB, free: 10.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.5446, allocations: 84.83 kB / 1.504 GB, free: 10.42 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.5453, allocations: 167.7 kB / 1.504 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.5476, allocations: 1.527 MB / 1.506 GB, free: 8.609 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/0.5484, allocations: 95.41 kB / 1.506 GB, free: 8.516 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.5485, allocations: 44.03 kB / 1.506 GB, free: 8.473 MB / 1.201 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.0004954/0.5489, allocations: 269.6 kB / 1.506 GB, free: 8.199 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.5491, allocations: 91.45 kB / 1.506 GB, free: 8.109 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.5518, allocations: 1.172 MB / 1.507 GB, free: 6.926 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5518, allocations: 8 kB / 1.507 GB, free: 6.918 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5518, allocations: 0 / 1.507 GB, free: 6.918 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5518, allocations: 3.984 kB / 1.507 GB, free: 6.914 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.5531, allocations: 0.9261 MB / 1.508 GB, free: 5.945 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5531, allocations: 4 kB / 1.508 GB, free: 5.941 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.5538, allocations: 159.7 kB / 1.508 GB, free: 5.785 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.5542, allocations: 76.7 kB / 1.509 GB, free: 5.707 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.5543, allocations: 39.91 kB / 1.509 GB, free: 5.668 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.5563, allocations: 1.547 MB / 1.51 GB, free: 3.996 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5563, allocations: 3.938 kB / 1.51 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.5587, allocations: 1.006 MB / 1.511 GB, free: 2.965 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.5593, allocations: 219 kB / 1.511 GB, free: 2.75 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.5594, allocations: 23.92 kB / 1.511 GB, free: 2.727 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.5601, allocations: 61.34 kB / 1.511 GB, free: 2.668 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.5602, allocations: 84.84 kB / 1.511 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.5603, allocations: 39.97 kB / 1.511 GB, free: 2.543 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007281/0.561, allocations: 0.4912 MB / 1.512 GB, free: 2.055 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.561, allocations: 0 / 1.512 GB, free: 2.055 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009619/0.562, allocations: 335.2 kB / 1.512 GB, free: 1.727 MB / 1.201 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.00439/0.5664, allocations: 2.067 MB / 1.514 GB, free: 15.81 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.5682, allocations: 0.8311 MB / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5682, allocations: 0 / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/0.5692, allocations: 0.516 MB / 1.516 GB, free: 14.44 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.5705, allocations: 305.5 kB / 1.516 GB, free: 14.16 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.5825, allocations: 6.6 MB / 1.522 GB, free: 7.414 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.5833, allocations: 1.048 MB / 1.523 GB, free: 6.336 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009085/0.5842, allocations: 275.2 kB / 1.524 GB, free: 6.062 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/0.5848, allocations: 427.2 kB / 1.524 GB, free: 5.645 MB / 1.217 GB Notification: Performance of SimCode: time 8.32e-07/0.5848, allocations: 0 / 1.524 GB, free: 5.645 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06728/0.6521, allocations: 23.72 MB / 1.547 GB, free: 14.16 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.65, allocations: 16.12 kB / 1.547 GB, free: 14.15 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.36741977100064]