Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.91 kB / 1.056 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.737/0.7388, allocations: 160.7 MB / 1.213 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007925/0.7468, allocations: 4.975 MB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1725/0.9193, allocations: 151.1 MB / 1.365 GB, free: 11.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.9203, allocations: 23.81 kB / 1.365 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007033/0.921, allocations: 198.2 kB / 1.366 GB, free: 11.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.9233, allocations: 0.5617 MB / 1.366 GB, free: 10.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.9256, allocations: 0.8439 MB / 1.367 GB, free: 9.965 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.9277, allocations: 1.433 MB / 1.368 GB, free: 8.523 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007966/0.9285, allocations: 421.5 kB / 1.369 GB, free: 8.086 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007474/0.9292, allocations: 0.51 MB / 1.369 GB, free: 7.574 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/0.9299, allocations: 0.5251 MB / 1.37 GB, free: 7.047 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.9301, allocations: 116 kB / 1.37 GB, free: 6.934 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.9311, allocations: 487.6 kB / 1.37 GB, free: 6.457 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.9314, allocations: 303 kB / 1.371 GB, free: 6.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.932, allocations: 0.5791 MB / 1.371 GB, free: 5.578 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.9346, allocations: 1.681 MB / 1.373 GB, free: 3.891 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.9346, allocations: 0 / 1.373 GB, free: 3.891 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9346, allocations: 0 / 1.373 GB, free: 3.891 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.9346, allocations: 0 / 1.373 GB, free: 3.891 MB / 1.076 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.002914/0.9375, allocations: 1.501 MB / 1.374 GB, free: 2.336 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.9376, allocations: 12.62 kB / 1.374 GB, free: 2.324 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.9377, allocations: 135.6 kB / 1.374 GB, free: 2.184 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.9387, allocations: 200 kB / 1.375 GB, free: 1.988 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.94, allocations: 0.7823 MB / 1.375 GB, free: 1.164 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.9401, allocations: 62 kB / 1.375 GB, free: 1.102 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.9402, allocations: 84 kB / 1.375 GB, free: 1.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.9418, allocations: 0.9534 MB / 1.376 GB, free: 28 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.9418, allocations: 0 / 1.376 GB, free: 28 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.942, allocations: 40.06 kB / 1.376 GB, free: 15.98 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.942, allocations: 27.98 kB / 1.376 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.9438, allocations: 1.124 MB / 1.378 GB, free: 14.83 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.9485, allocations: 2.74 MB / 1.38 GB, free: 11.98 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.9502, allocations: 0.8603 MB / 1.381 GB, free: 11.1 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.9507, allocations: 290.6 kB / 1.381 GB, free: 10.81 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.718e-05/0.9508, allocations: 40.66 kB / 1.381 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009213/0.9518, allocations: 0.5231 MB / 1.382 GB, free: 10.23 MB / 1.092 GB Notification: Performance of pre-optimization done (n=85): time 2.815e-06/0.9518, allocations: 3.938 kB / 1.382 GB, free: 10.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=85): time 0.003406/0.9552, allocations: 1.259 MB / 1.383 GB, free: 8.941 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.9553, allocations: 204.8 kB / 1.383 GB, free: 8.699 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/0.9562, allocations: 0.6294 MB / 1.384 GB, free: 8.062 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.373e-05/0.9563, allocations: 53.7 kB / 1.384 GB, free: 8.004 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.9566, allocations: 409 kB / 1.384 GB, free: 7.598 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.9569, allocations: 285.6 kB / 1.385 GB, free: 7.316 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.9571, allocations: 154.6 kB / 1.385 GB, free: 7.16 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.9573, allocations: 390.8 kB / 1.385 GB, free: 6.77 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.9578, allocations: 253.9 kB / 1.385 GB, free: 6.52 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.9585, allocations: 379.3 kB / 1.386 GB, free: 6.121 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.9596, allocations: 0.6133 MB / 1.386 GB, free: 5.496 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9596, allocations: 0 / 1.386 GB, free: 5.496 MB / 1.092 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002047/0.9617, allocations: 0.8414 MB / 1.387 GB, free: 4.641 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.9617, allocations: 7.938 kB / 1.387 GB, free: 4.633 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.9617, allocations: 0 / 1.387 GB, free: 4.633 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.9623, allocations: 80.97 kB / 1.387 GB, free: 4.551 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.963, allocations: 167.8 kB / 1.387 GB, free: 4.387 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.9652, allocations: 1.634 MB / 1.389 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/0.966, allocations: 102.2 kB / 1.389 GB, free: 2.512 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.966, allocations: 36.09 kB / 1.389 GB, free: 2.477 MB / 1.092 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.0004841/0.9665, allocations: 269.4 kB / 1.389 GB, free: 2.203 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.9667, allocations: 87.44 kB / 1.39 GB, free: 2.117 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.9694, allocations: 1.14 MB / 1.391 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.9694, allocations: 12 kB / 1.391 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9694, allocations: 7.984 kB / 1.391 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.9694, allocations: 3.984 kB / 1.391 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.9731, allocations: 2.025 MB / 1.393 GB, free: 14.85 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.9731, allocations: 4 kB / 1.393 GB, free: 14.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.9738, allocations: 151.8 kB / 1.393 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.9742, allocations: 72.8 kB / 1.393 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.9743, allocations: 31.97 kB / 1.393 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.9763, allocations: 1.654 MB / 1.395 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9763, allocations: 4.062 kB / 1.395 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.9787, allocations: 1.053 MB / 1.396 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.9793, allocations: 300 kB / 1.396 GB, free: 11.4 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.9794, allocations: 20 kB / 1.396 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/0.9802, allocations: 67.92 kB / 1.396 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.9803, allocations: 80.89 kB / 1.396 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.9804, allocations: 31.98 kB / 1.396 GB, free: 11.21 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007129/0.9811, allocations: 471 kB / 1.396 GB, free: 10.75 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9811, allocations: 0 / 1.396 GB, free: 10.75 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001025/0.9822, allocations: 331.1 kB / 1.397 GB, free: 10.43 MB / 1.107 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.004532/0.9867, allocations: 2.105 MB / 1.399 GB, free: 8.484 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.9886, allocations: 0.8116 MB / 1.4 GB, free: 7.66 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.9886, allocations: 4 kB / 1.4 GB, free: 7.656 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.9896, allocations: 0.5159 MB / 1.4 GB, free: 7.129 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.991, allocations: 307.4 kB / 1.4 GB, free: 6.844 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.003, allocations: 6.427 MB / 1.407 GB, free: 260 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/1.004, allocations: 1.036 MB / 1.408 GB, free: 15.19 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000967/1.005, allocations: 271 kB / 1.408 GB, free: 14.92 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/1.005, allocations: 395.3 kB / 1.408 GB, free: 14.54 MB / 1.123 GB Notification: Performance of SimCode: time 1.884e-06/1.005, allocations: 0 / 1.408 GB, free: 14.54 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08361/1.089, allocations: 22.41 MB / 1.43 GB, free: 8.348 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.24, allocations: 3.938 kB / 1.43 GB, free: 8.344 MB / 1.139 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 20.135674570221454]