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.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.001895/0.001895, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002502/0.002502, allocations: 220 kB / 22.24 MB, free: 5.109 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.374/3.374, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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"}) [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.002194/0.002194, allocations: 70.77 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3794, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007772/0.3872, allocations: 4.373 MB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.5686, allocations: 132.7 MB / 1.497 GB, free: 4.539 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008736/0.5694, allocations: 23.81 kB / 1.497 GB, free: 4.516 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007515/0.5702, allocations: 194.2 kB / 1.497 GB, free: 4.324 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.5721, allocations: 0.5578 MB / 1.498 GB, free: 3.766 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.5744, allocations: 0.8543 MB / 1.499 GB, free: 2.918 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.5763, allocations: 1.386 MB / 1.5 GB, free: 1.527 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008974/0.5772, allocations: 390.6 kB / 1.501 GB, free: 1.121 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009086/0.5781, allocations: 0.4944 MB / 1.501 GB, free: 0.625 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.579, allocations: 469.7 kB / 1.501 GB, free: 168 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.5792, allocations: 116 kB / 1.502 GB, free: 52 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.5804, allocations: 491.6 kB / 1.502 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.5808, allocations: 299 kB / 1.502 GB, free: 15.28 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000642/0.5814, allocations: 457.8 kB / 1.503 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.5841, allocations: 1.669 MB / 1.504 GB, free: 13.15 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5841, allocations: 4 kB / 1.504 GB, free: 13.15 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5841, allocations: 4 kB / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.925e-05/0.5842, allocations: 0 / 1.504 GB, free: 13.14 MB / 1.201 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.004194/0.5884, allocations: 1.399 MB / 1.506 GB, free: 11.71 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.5884, allocations: 12.03 kB / 1.506 GB, free: 11.7 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003118/0.5887, allocations: 131.3 kB / 1.506 GB, free: 11.56 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.5905, allocations: 232 kB / 1.506 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.5923, allocations: 0.7102 MB / 1.507 GB, free: 10.6 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.5924, allocations: 66 kB / 1.507 GB, free: 10.53 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.5925, allocations: 76 kB / 1.507 GB, free: 10.46 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.5945, allocations: 1.158 MB / 1.508 GB, free: 9.199 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.5945, allocations: 0 / 1.508 GB, free: 9.199 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.5946, allocations: 39.92 kB / 1.508 GB, free: 9.16 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.5946, allocations: 20 kB / 1.508 GB, free: 9.141 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.5965, allocations: 1.05 MB / 1.509 GB, free: 8.09 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.6009, allocations: 2.193 MB / 1.511 GB, free: 5.832 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.6025, allocations: 0.7468 MB / 1.512 GB, free: 5.082 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.603, allocations: 274.7 kB / 1.512 GB, free: 4.812 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.6031, allocations: 24.56 kB / 1.512 GB, free: 4.789 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.6041, allocations: 0.5854 MB / 1.513 GB, free: 4.16 MB / 1.201 GB Notification: Performance of pre-optimization done (n=79): time 3.597e-06/0.6041, allocations: 0 / 1.513 GB, free: 4.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=79): time 0.003262/0.6074, allocations: 1.115 MB / 1.514 GB, free: 3.035 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6075, allocations: 188.6 kB / 1.514 GB, free: 2.809 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.6086, allocations: 0.6488 MB / 1.515 GB, free: 2.148 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.6087, allocations: 41.7 kB / 1.515 GB, free: 2.102 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.609, allocations: 405 kB / 1.515 GB, free: 1.699 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.6093, allocations: 269.7 kB / 1.515 GB, free: 1.434 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.6095, allocations: 142.6 kB / 1.516 GB, free: 1.289 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.6098, allocations: 390.7 kB / 1.516 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.6103, allocations: 241.9 kB / 1.516 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/0.611, allocations: 491 kB / 1.517 GB, free: 128 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.6121, allocations: 0.5721 MB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6121, allocations: 0 / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002029/0.6142, allocations: 0.8023 MB / 1.518 GB, free: 14.73 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6142, allocations: 7.938 kB / 1.518 GB, free: 14.72 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6142, allocations: 8.094 kB / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/0.6148, allocations: 72.78 kB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.6154, allocations: 147.8 kB / 1.518 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.6178, allocations: 1.533 MB / 1.52 GB, free: 12.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/0.6186, allocations: 83.53 kB / 1.52 GB, free: 12.76 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.061e-05/0.6187, allocations: 27.98 kB / 1.52 GB, free: 12.73 MB / 1.217 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.0005689/0.6192, allocations: 269.7 kB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.6195, allocations: 87.44 kB / 1.52 GB, free: 12.38 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.622, allocations: 1.05 MB / 1.521 GB, free: 11.31 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.622, allocations: 12 kB / 1.521 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.622, allocations: 4 kB / 1.521 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.6221, allocations: 11.92 kB / 1.521 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/0.6257, allocations: 1.782 MB / 1.523 GB, free: 9.445 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6257, allocations: 0 / 1.523 GB, free: 9.445 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.6262, allocations: 139.8 kB / 1.523 GB, free: 9.309 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.6267, allocations: 72.78 kB / 1.523 GB, free: 9.234 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.6268, allocations: 27.98 kB / 1.523 GB, free: 9.207 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.6288, allocations: 1.539 MB / 1.525 GB, free: 7.547 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6288, allocations: 0 / 1.525 GB, free: 7.547 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.631, allocations: 0.9906 MB / 1.526 GB, free: 6.543 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/0.6317, allocations: 207 kB / 1.526 GB, free: 6.34 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.6319, allocations: 19.98 kB / 1.526 GB, free: 6.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.6326, allocations: 61.81 kB / 1.526 GB, free: 6.262 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.6327, allocations: 76.86 kB / 1.526 GB, free: 6.184 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.6328, allocations: 31.98 kB / 1.526 GB, free: 6.152 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007315/0.6336, allocations: 479 kB / 1.527 GB, free: 5.691 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6336, allocations: 3.938 kB / 1.527 GB, free: 5.688 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009603/0.6345, allocations: 315.2 kB / 1.527 GB, free: 5.379 MB / 1.217 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.004524/0.639, allocations: 2.076 MB / 1.529 GB, free: 3.484 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.6409, allocations: 0.7612 MB / 1.53 GB, free: 2.711 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6409, allocations: 0 / 1.53 GB, free: 2.711 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.642, allocations: 492.2 kB / 1.53 GB, free: 2.219 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.6435, allocations: 308 kB / 1.53 GB, free: 1.934 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.6557, allocations: 6.236 MB / 1.536 GB, free: 11.55 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.6562, allocations: 435.6 kB / 1.537 GB, free: 11.09 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.000911/0.6571, allocations: 254.7 kB / 1.537 GB, free: 10.83 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/0.6578, allocations: 383.3 kB / 1.537 GB, free: 10.46 MB / 1.233 GB Notification: Performance of SimCode: time 1.553e-06/0.6578, allocations: 4 kB / 1.537 GB, free: 10.45 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06925/0.727, allocations: 23.23 MB / 1.56 GB, free: 3.543 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.55, allocations: 13.5 kB / 1.56 GB, free: 3.531 MB / 1.248 GB " [Timeout remaining time 285] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.789894097018987]