Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001574/0.001574, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002038/0.002038, allocations: 220.1 kB / 22.26 MB, free: 5.121 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.992 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.098/3.098, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.SolarHourAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_12_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.001981/0.001981, allocations: 66.98 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007401/0.3647, allocations: 4.883 MB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5498, allocations: 154.1 MB / 1.481 GB, free: 2.375 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009103/0.5507, allocations: 23.81 kB / 1.481 GB, free: 2.352 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.5514, allocations: 194.3 kB / 1.481 GB, free: 2.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.5532, allocations: 0.5632 MB / 1.482 GB, free: 1.598 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.5554, allocations: 0.871 MB / 1.483 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.5572, allocations: 1.382 MB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007912/0.558, allocations: 417.8 kB / 1.485 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000841/0.5589, allocations: 0.4944 MB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.5596, allocations: 0.494 MB / 1.485 GB, free: 13.92 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.5597, allocations: 116 kB / 1.486 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.5608, allocations: 0.5074 MB / 1.486 GB, free: 13.3 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.5612, allocations: 303 kB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005928/0.5618, allocations: 0.5558 MB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.5645, allocations: 1.665 MB / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5645, allocations: 7.938 kB / 1.489 GB, free: 10.76 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5645, allocations: 0 / 1.489 GB, free: 10.76 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.5645, allocations: 0 / 1.489 GB, free: 10.76 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002887/0.5674, allocations: 1.407 MB / 1.49 GB, free: 9.32 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5674, allocations: 8.031 kB / 1.49 GB, free: 9.312 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.5676, allocations: 135.3 kB / 1.49 GB, free: 9.172 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.569, allocations: 228 kB / 1.49 GB, free: 8.949 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.5704, allocations: 0.7141 MB / 1.491 GB, free: 8.207 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.5704, allocations: 65.98 kB / 1.491 GB, free: 8.141 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5705, allocations: 80 kB / 1.491 GB, free: 8.062 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5721, allocations: 0.9028 MB / 1.492 GB, free: 7.121 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5721, allocations: 0 / 1.492 GB, free: 7.121 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.5722, allocations: 35.98 kB / 1.492 GB, free: 7.086 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.5722, allocations: 20 kB / 1.492 GB, free: 7.066 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5739, allocations: 1.093 MB / 1.493 GB, free: 5.969 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/0.5782, allocations: 2.665 MB / 1.496 GB, free: 3.18 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5797, allocations: 0.7389 MB / 1.496 GB, free: 2.434 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.5802, allocations: 282.7 kB / 1.497 GB, free: 2.156 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.64e-05/0.5803, allocations: 44.53 kB / 1.497 GB, free: 2.113 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008795/0.5812, allocations: 495.4 kB / 1.497 GB, free: 1.609 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.544e-06/0.5812, allocations: 0 / 1.497 GB, free: 1.609 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003208/0.5844, allocations: 1.107 MB / 1.498 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.5846, allocations: 196.5 kB / 1.498 GB, free: 264 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/0.5855, allocations: 0.6489 MB / 1.499 GB, free: 15.6 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.5856, allocations: 45.7 kB / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.5859, allocations: 401 kB / 1.5 GB, free: 15.15 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.5862, allocations: 265.6 kB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.5864, allocations: 146.6 kB / 1.5 GB, free: 14.74 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.5866, allocations: 394.7 kB / 1.5 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.5871, allocations: 237.9 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.5877, allocations: 354.5 kB / 1.501 GB, free: 13.74 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5887, allocations: 0.576 MB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5887, allocations: 4 kB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001936/0.5907, allocations: 0.7906 MB / 1.502 GB, free: 12.35 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5907, allocations: 8 kB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5907, allocations: 0 / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.5913, allocations: 88.8 kB / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.592, allocations: 143.8 kB / 1.502 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.5943, allocations: 1.538 MB / 1.504 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.5951, allocations: 83.8 kB / 1.504 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.5951, allocations: 31.98 kB / 1.504 GB, free: 10.34 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: 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.0005145/0.5957, allocations: 269.7 kB / 1.504 GB, free: 10.06 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.5958, allocations: 87.44 kB / 1.504 GB, free: 9.977 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.5982, allocations: 1.05 MB / 1.505 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5982, allocations: 8 kB / 1.505 GB, free: 8.91 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5982, allocations: 4 kB / 1.505 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.5982, allocations: 11.91 kB / 1.505 GB, free: 8.895 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.6016, allocations: 1.899 MB / 1.507 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6016, allocations: 0 / 1.507 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.6021, allocations: 139.8 kB / 1.507 GB, free: 6.805 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/0.6026, allocations: 72.78 kB / 1.508 GB, free: 6.73 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.6027, allocations: 23.98 kB / 1.508 GB, free: 6.707 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.6047, allocations: 1.551 MB / 1.509 GB, free: 5.031 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6047, allocations: 4.031 kB / 1.509 GB, free: 5.027 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.6068, allocations: 0.9944 MB / 1.51 GB, free: 4.016 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000494/0.6073, allocations: 195.1 kB / 1.51 GB, free: 3.824 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.6074, allocations: 24 kB / 1.51 GB, free: 3.801 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/0.608, allocations: 63.92 kB / 1.51 GB, free: 3.738 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6082, allocations: 72.86 kB / 1.51 GB, free: 3.664 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.6083, allocations: 35.98 kB / 1.51 GB, free: 3.629 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006354/0.6089, allocations: 471 kB / 1.511 GB, free: 3.176 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6089, allocations: 0 / 1.511 GB, free: 3.176 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009019/0.6098, allocations: 323.1 kB / 1.511 GB, free: 2.859 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: 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.00423/0.614, allocations: 2.053 MB / 1.513 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.6158, allocations: 0.7611 MB / 1.514 GB, free: 192 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6158, allocations: 0 / 1.514 GB, free: 192 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009438/0.6167, allocations: 496.2 kB / 1.514 GB, free: 15.7 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.618, allocations: 307.6 kB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.629, allocations: 6.227 MB / 1.521 GB, free: 9.035 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.6297, allocations: 1.023 MB / 1.522 GB, free: 7.984 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008589/0.6305, allocations: 262.7 kB / 1.522 GB, free: 7.723 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005729/0.6311, allocations: 383.3 kB / 1.522 GB, free: 7.348 MB / 1.217 GB Notification: Performance of SimCode: time 1.302e-06/0.6311, allocations: 0 / 1.522 GB, free: 7.348 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06655/0.6977, allocations: 22.24 MB / 1.544 GB, free: 1.34 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.45, allocations: 7.641 kB / 1.544 GB, free: 1.336 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_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_SolarHourAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.217448446999697]