Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001804/0.001804, 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.002213/0.002213, allocations: 208.7 kB / 22.25 MB, free: 5.082 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.027 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.274/3.274, allocations: 0.505 GB / 0.8101 GB, free: 22.17 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.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_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.002288/0.002288, allocations: 69.83 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3532, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006973/0.3602, allocations: 5.035 MB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1795/0.5397, allocations: 154.2 MB / 1.508 GB, free: 8.668 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.5408, allocations: 23.81 kB / 1.508 GB, free: 8.645 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.5418, allocations: 198.2 kB / 1.509 GB, free: 8.449 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.5444, allocations: 0.5801 MB / 1.509 GB, free: 7.871 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.547, allocations: 0.8931 MB / 1.51 GB, free: 6.98 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002403/0.5494, allocations: 1.464 MB / 1.511 GB, free: 5.508 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.5505, allocations: 422.2 kB / 1.512 GB, free: 5.07 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.5516, allocations: 0.5178 MB / 1.512 GB, free: 4.551 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009498/0.5526, allocations: 0.5368 MB / 1.513 GB, free: 4.012 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.5529, allocations: 124 kB / 1.513 GB, free: 3.891 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.5543, allocations: 0.5113 MB / 1.513 GB, free: 3.379 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.5547, allocations: 311 kB / 1.514 GB, free: 3.074 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008818/0.5556, allocations: 0.583 MB / 1.514 GB, free: 2.488 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.5584, allocations: 1.724 MB / 1.516 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.5585, allocations: 3.984 kB / 1.516 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5585, allocations: 0 / 1.516 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.431e-05/0.5585, allocations: 3.938 kB / 1.516 GB, free: 0.75 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003572/0.5621, allocations: 1.46 MB / 1.517 GB, free: 15.25 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5621, allocations: 16.02 kB / 1.517 GB, free: 15.24 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/0.5624, allocations: 139.6 kB / 1.518 GB, free: 15.09 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.5642, allocations: 252 kB / 1.518 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.5658, allocations: 0.7257 MB / 1.519 GB, free: 14.1 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.5659, allocations: 66 kB / 1.519 GB, free: 14.03 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.566, allocations: 84 kB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.5678, allocations: 0.9456 MB / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.5678, allocations: 0 / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.5679, allocations: 43.98 kB / 1.52 GB, free: 12.92 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.5679, allocations: 20 kB / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.5699, allocations: 1.128 MB / 1.521 GB, free: 11.77 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.5748, allocations: 2.75 MB / 1.523 GB, free: 8.895 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.5764, allocations: 0.7911 MB / 1.524 GB, free: 8.094 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.577, allocations: 288.6 kB / 1.524 GB, free: 7.812 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.5771, allocations: 28.62 kB / 1.525 GB, free: 7.785 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.5782, allocations: 0.5238 MB / 1.525 GB, free: 7.246 MB / 1.217 GB Notification: Performance of pre-optimization done (n=85): time 3.717e-06/0.5782, allocations: 0 / 1.525 GB, free: 7.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=85): time 0.003723/0.5819, allocations: 1.188 MB / 1.526 GB, free: 6.055 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.5821, allocations: 196.9 kB / 1.526 GB, free: 5.816 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.5832, allocations: 0.6607 MB / 1.527 GB, free: 5.148 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.5833, allocations: 41.7 kB / 1.527 GB, free: 5.102 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.5837, allocations: 421 kB / 1.527 GB, free: 4.684 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.584, allocations: 281.6 kB / 1.528 GB, free: 4.406 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.5843, allocations: 162.6 kB / 1.528 GB, free: 4.242 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.5845, allocations: 390.8 kB / 1.528 GB, free: 3.852 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.5851, allocations: 261.8 kB / 1.529 GB, free: 3.598 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.5858, allocations: 375.4 kB / 1.529 GB, free: 3.195 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.587, allocations: 0.6094 MB / 1.529 GB, free: 2.574 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.587, allocations: 0 / 1.529 GB, free: 2.574 MB / 1.217 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002191/0.5892, allocations: 0.8492 MB / 1.53 GB, free: 1.715 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.5892, allocations: 7.938 kB / 1.53 GB, free: 1.707 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5892, allocations: 3.938 kB / 1.53 GB, free: 1.703 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006598/0.5899, allocations: 88.89 kB / 1.53 GB, free: 1.613 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/0.5906, allocations: 163.8 kB / 1.531 GB, free: 1.453 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.593, allocations: 1.531 MB / 1.532 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008499/0.5939, allocations: 91.5 kB / 1.532 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.594, allocations: 31.92 kB / 1.532 GB, free: 15.68 MB / 1.232 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.000608/0.5946, allocations: 282.1 kB / 1.532 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.5949, allocations: 91.39 kB / 1.533 GB, free: 15.3 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.5977, allocations: 1.136 MB / 1.534 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5978, allocations: 12 kB / 1.534 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5978, allocations: 0 / 1.534 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.5978, allocations: 7.969 kB / 1.534 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.6019, allocations: 2.012 MB / 1.536 GB, free: 12.06 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.6019, allocations: 0 / 1.536 GB, free: 12.06 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006585/0.6026, allocations: 159.8 kB / 1.536 GB, free: 11.91 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.603, allocations: 72.78 kB / 1.536 GB, free: 11.83 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.6032, allocations: 27.98 kB / 1.536 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.6053, allocations: 1.566 MB / 1.537 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6053, allocations: 0 / 1.537 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.6078, allocations: 1.053 MB / 1.538 GB, free: 9.051 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.6083, allocations: 211 kB / 1.539 GB, free: 8.844 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.6085, allocations: 31.92 kB / 1.539 GB, free: 8.812 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.6093, allocations: 65.34 kB / 1.539 GB, free: 8.75 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.6095, allocations: 80.84 kB / 1.539 GB, free: 8.672 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6096, allocations: 39.97 kB / 1.539 GB, free: 8.633 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009313/0.6106, allocations: 487 kB / 1.539 GB, free: 8.164 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6106, allocations: 0 / 1.539 GB, free: 8.164 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001102/0.6117, allocations: 331.1 kB / 1.54 GB, free: 7.84 MB / 1.232 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.004746/0.6164, allocations: 2.118 MB / 1.542 GB, free: 5.871 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.6183, allocations: 0.808 MB / 1.542 GB, free: 5.051 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6184, allocations: 0 / 1.542 GB, free: 5.051 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6194, allocations: 0.5157 MB / 1.543 GB, free: 4.52 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.6209, allocations: 305.4 kB / 1.543 GB, free: 4.238 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.6343, allocations: 6.5 MB / 1.55 GB, free: 13.57 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.6351, allocations: 1.04 MB / 1.551 GB, free: 12.5 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001074/0.6362, allocations: 275 kB / 1.551 GB, free: 12.23 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/0.637, allocations: 411.3 kB / 1.551 GB, free: 11.83 MB / 1.248 GB Notification: Performance of SimCode: time 1.112e-06/0.637, allocations: 0 / 1.551 GB, free: 11.83 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07072/0.7077, allocations: 23.25 MB / 1.574 GB, free: 4.781 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.33, allocations: 3.984 kB / 1.574 GB, free: 4.777 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.37595109594986]