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.001328/0.001328, allocations: 113 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.001536/0.001536, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 8.039 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.171/3.171, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.002044/0.002044, allocations: 63.33 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007383/0.3289, allocations: 4.885 MB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1906/0.5195, allocations: 154.1 MB / 1.481 GB, free: 2.379 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000872/0.5203, allocations: 23.81 kB / 1.481 GB, free: 2.355 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000818/0.5211, allocations: 194.2 kB / 1.481 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.5233, allocations: 0.5592 MB / 1.482 GB, free: 1.605 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.5256, allocations: 0.8816 MB / 1.483 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.5275, allocations: 1.39 MB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008443/0.5284, allocations: 409.9 kB / 1.485 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008659/0.5292, allocations: 0.4944 MB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.53, allocations: 0.4979 MB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.5303, allocations: 116 kB / 1.486 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.5314, allocations: 0.5113 MB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.5317, allocations: 295 kB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006907/0.5324, allocations: 0.5597 MB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.5349, allocations: 1.665 MB / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5349, allocations: 0 / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5349, allocations: 0 / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.233e-05/0.535, allocations: 4 kB / 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.003067/0.538, allocations: 1.399 MB / 1.49 GB, free: 9.328 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5381, allocations: 12.02 kB / 1.49 GB, free: 9.316 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.5382, allocations: 135.2 kB / 1.49 GB, free: 9.176 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.5397, allocations: 236 kB / 1.49 GB, free: 8.945 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.5412, allocations: 0.7025 MB / 1.491 GB, free: 8.215 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.5412, allocations: 69.98 kB / 1.491 GB, free: 8.145 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.5413, allocations: 76 kB / 1.491 GB, free: 8.07 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.543, allocations: 0.9066 MB / 1.492 GB, free: 7.125 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.543, allocations: 0 / 1.492 GB, free: 7.125 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.5431, allocations: 40 kB / 1.492 GB, free: 7.086 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.5432, allocations: 20 kB / 1.492 GB, free: 7.066 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.545, allocations: 1.097 MB / 1.493 GB, free: 5.965 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.5495, allocations: 2.658 MB / 1.496 GB, free: 3.18 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.551, allocations: 0.7463 MB / 1.496 GB, free: 2.426 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.5516, allocations: 278.7 kB / 1.497 GB, free: 2.152 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.639e-05/0.5516, allocations: 36.53 kB / 1.497 GB, free: 2.117 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/0.5525, allocations: 495.8 kB / 1.497 GB, free: 1.613 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.074e-06/0.5525, allocations: 0 / 1.497 GB, free: 1.613 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.00324/0.5558, allocations: 1.115 MB / 1.498 GB, free: 500 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.5559, allocations: 188.6 kB / 1.498 GB, free: 268 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009545/0.5569, allocations: 0.6488 MB / 1.499 GB, free: 15.61 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.557, allocations: 41.7 kB / 1.499 GB, free: 15.56 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.5573, allocations: 405 kB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.5576, allocations: 269.7 kB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.5578, allocations: 142.6 kB / 1.5 GB, free: 14.75 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.5581, allocations: 398.6 kB / 1.5 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.5586, allocations: 237.9 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.5592, allocations: 358.5 kB / 1.501 GB, free: 13.74 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5603, allocations: 0.5721 MB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5603, allocations: 4 kB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001949/0.5623, allocations: 0.7906 MB / 1.502 GB, free: 12.35 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.5623, allocations: 8 kB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5623, allocations: 0 / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/0.5629, allocations: 84.86 kB / 1.502 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.5636, allocations: 151.8 kB / 1.502 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.5657, allocations: 1.546 MB / 1.504 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007071/0.5665, allocations: 79.64 kB / 1.504 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.5665, allocations: 31.98 kB / 1.504 GB, free: 10.33 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.0004626/0.567, allocations: 265.7 kB / 1.504 GB, free: 10.06 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.5672, allocations: 87.44 kB / 1.504 GB, free: 9.977 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.5696, allocations: 1.054 MB / 1.505 GB, free: 8.914 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5696, allocations: 8 kB / 1.505 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5696, allocations: 0 / 1.505 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.5697, allocations: 15.91 kB / 1.505 GB, free: 8.891 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.5731, allocations: 1.891 MB / 1.507 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5731, allocations: 0 / 1.507 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.5737, allocations: 139.8 kB / 1.507 GB, free: 6.805 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.5742, allocations: 76.78 kB / 1.508 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/0.5742, allocations: 23.98 kB / 1.508 GB, free: 6.703 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.5764, allocations: 1.555 MB / 1.509 GB, free: 5.023 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5764, allocations: 0 / 1.509 GB, free: 5.023 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.5785, allocations: 0.9945 MB / 1.51 GB, free: 4.016 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.579, allocations: 199.3 kB / 1.51 GB, free: 3.82 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.5791, allocations: 19.95 kB / 1.51 GB, free: 3.801 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.5798, allocations: 71.91 kB / 1.51 GB, free: 3.73 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.5799, allocations: 68.86 kB / 1.51 GB, free: 3.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.58, allocations: 35.98 kB / 1.51 GB, free: 3.625 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006852/0.5807, allocations: 478.9 kB / 1.511 GB, free: 3.164 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5807, allocations: 0 / 1.511 GB, free: 3.164 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009459/0.5817, allocations: 323.1 kB / 1.511 GB, free: 2.848 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.004327/0.586, allocations: 2.043 MB / 1.513 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.5877, allocations: 0.7493 MB / 1.514 GB, free: 204 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5877, allocations: 8.188 kB / 1.514 GB, free: 196 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009533/0.5887, allocations: 496.2 kB / 1.514 GB, free: 15.69 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5899, allocations: 305.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.01089/0.6008, allocations: 6.221 MB / 1.521 GB, free: 9.039 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/0.6016, allocations: 1.022 MB / 1.522 GB, free: 7.992 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008493/0.6024, allocations: 266.6 kB / 1.522 GB, free: 7.727 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/0.603, allocations: 391.2 kB / 1.522 GB, free: 7.344 MB / 1.217 GB Notification: Performance of SimCode: time 1.012e-06/0.603, allocations: 0 / 1.522 GB, free: 7.344 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06494/0.6679, allocations: 22.24 MB / 1.544 GB, free: 1.336 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.4, allocations: 3.984 kB / 1.544 GB, free: 1.332 MB / 1.232 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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: 22.23387248115614]