Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001426/0.001426, 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.00157/0.00157, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.98 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.245/3.245, allocations: 0.49 GB / 0.7951 GB, free: 33.35 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.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.002223/0.002223, allocations: 72.02 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3451, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.008544/0.3536, allocations: 5.034 MB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.538, allocations: 154.2 MB / 1.481 GB, free: 2.145 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009262/0.5389, allocations: 23.81 kB / 1.481 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.5396, allocations: 194.2 kB / 1.482 GB, free: 1.93 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.5418, allocations: 0.5831 MB / 1.482 GB, free: 1.348 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.5441, allocations: 0.8929 MB / 1.483 GB, free: 472 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.5463, allocations: 1.464 MB / 1.484 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009477/0.5472, allocations: 422.2 kB / 1.485 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.5483, allocations: 0.5217 MB / 1.485 GB, free: 14.03 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009151/0.5492, allocations: 0.5368 MB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.5495, allocations: 120 kB / 1.486 GB, free: 13.38 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.5507, allocations: 0.5152 MB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.5511, allocations: 315 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008246/0.5519, allocations: 0.5869 MB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.5546, allocations: 1.72 MB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5547, allocations: 0 / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5547, allocations: 0 / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.542e-05/0.5547, allocations: 0 / 1.489 GB, free: 10.23 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003305/0.558, allocations: 1.456 MB / 1.49 GB, free: 8.742 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.5581, allocations: 12.03 kB / 1.49 GB, free: 8.73 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/0.5583, allocations: 143.6 kB / 1.491 GB, free: 8.582 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.5601, allocations: 251.9 kB / 1.491 GB, free: 8.336 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.5623, allocations: 0.7296 MB / 1.492 GB, free: 7.578 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.5624, allocations: 65.98 kB / 1.492 GB, free: 7.512 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.5626, allocations: 84 kB / 1.492 GB, free: 7.43 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.5651, allocations: 0.9418 MB / 1.493 GB, free: 6.449 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.5651, allocations: 3.938 kB / 1.493 GB, free: 6.445 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.5652, allocations: 43.94 kB / 1.493 GB, free: 6.402 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.5652, allocations: 20 kB / 1.493 GB, free: 6.383 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.5673, allocations: 1.124 MB / 1.494 GB, free: 5.254 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005139/0.5725, allocations: 2.76 MB / 1.496 GB, free: 2.367 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.5742, allocations: 0.7833 MB / 1.497 GB, free: 1.574 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.5748, allocations: 284.8 kB / 1.498 GB, free: 1.293 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.521e-05/0.5749, allocations: 36.67 kB / 1.498 GB, free: 1.258 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.5759, allocations: 0.5216 MB / 1.498 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.956e-06/0.5759, allocations: 0 / 1.498 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003615/0.5795, allocations: 1.18 MB / 1.499 GB, free: 15.53 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.5797, allocations: 208.8 kB / 1.499 GB, free: 15.29 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5807, allocations: 0.6568 MB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.5808, allocations: 45.7 kB / 1.5 GB, free: 14.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.5812, allocations: 417 kB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.5815, allocations: 285.5 kB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.5818, allocations: 158.6 kB / 1.501 GB, free: 13.72 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002361/0.582, allocations: 394.8 kB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.5826, allocations: 253.9 kB / 1.502 GB, free: 13.07 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/0.5833, allocations: 375.4 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.5846, allocations: 0.6094 MB / 1.502 GB, free: 12.05 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.5846, allocations: 8 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002287/0.5869, allocations: 0.8374 MB / 1.503 GB, free: 11.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5869, allocations: 7.938 kB / 1.503 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5869, allocations: 7.938 kB / 1.503 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.5875, allocations: 88.83 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.5882, allocations: 159.8 kB / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.5906, allocations: 1.535 MB / 1.505 GB, free: 9.281 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/0.5914, allocations: 91.47 kB / 1.505 GB, free: 9.191 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.5915, allocations: 35.91 kB / 1.505 GB, free: 9.156 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0005519/0.5921, allocations: 277.4 kB / 1.505 GB, free: 8.875 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.5923, allocations: 95.38 kB / 1.506 GB, free: 8.781 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.595, allocations: 1.133 MB / 1.507 GB, free: 7.637 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.595, allocations: 12 kB / 1.507 GB, free: 7.625 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5951, allocations: 0 / 1.507 GB, free: 7.625 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.5951, allocations: 3.984 kB / 1.507 GB, free: 7.621 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.5991, allocations: 2.02 MB / 1.509 GB, free: 5.547 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.5991, allocations: 0 / 1.509 GB, free: 5.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.5998, allocations: 155.7 kB / 1.509 GB, free: 5.395 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.6002, allocations: 80.77 kB / 1.509 GB, free: 5.312 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.6003, allocations: 27.97 kB / 1.509 GB, free: 5.285 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.6024, allocations: 1.559 MB / 1.51 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6024, allocations: 3.938 kB / 1.51 GB, free: 3.602 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.6048, allocations: 1.053 MB / 1.511 GB, free: 2.527 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.6054, allocations: 215 kB / 1.512 GB, free: 2.316 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.6055, allocations: 20 kB / 1.512 GB, free: 2.297 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/0.6063, allocations: 67.92 kB / 1.512 GB, free: 2.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.6064, allocations: 84.78 kB / 1.512 GB, free: 2.148 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.6065, allocations: 43.97 kB / 1.512 GB, free: 2.105 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007016/0.6072, allocations: 479 kB / 1.512 GB, free: 1.645 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6072, allocations: 0 / 1.512 GB, free: 1.645 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000946/0.6082, allocations: 343 kB / 1.513 GB, free: 1.309 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.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 (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.004414/0.6126, allocations: 2.117 MB / 1.515 GB, free: 15.34 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.6144, allocations: 0.808 MB / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6144, allocations: 0 / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.6154, allocations: 0.5235 MB / 1.516 GB, free: 13.99 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.6167, allocations: 307 kB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.6285, allocations: 6.492 MB / 1.523 GB, free: 7.059 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007918/0.6293, allocations: 1.036 MB / 1.524 GB, free: 5.996 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008864/0.6302, allocations: 279 kB / 1.524 GB, free: 5.719 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/0.6308, allocations: 407.3 kB / 1.524 GB, free: 5.32 MB / 1.217 GB Notification: Performance of SimCode: time 9.01e-07/0.6308, allocations: 0 / 1.524 GB, free: 5.32 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07143/0.7022, allocations: 23.26 MB / 1.547 GB, free: 14.3 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.42, allocations: 8.781 kB / 1.547 GB, free: 14.3 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.22994421585463]