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.001343/0.001344, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001303/0.001304, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.342/1.342, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.441/2.441, allocations: 437.1 MB / 0.7171 GB, free: 4.109 MB / 0.5762 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.001945/0.001945, allocations: 71.88 kB / 1.027 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7589, allocations: 151.6 MB / 1.175 GB, free: 17.47 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005341/0.7643, allocations: 4.951 MB / 1.18 GB, free: 13.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.935, allocations: 150.7 MB / 1.327 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009253/0.9359, allocations: 15.94 kB / 1.327 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.9366, allocations: 186.2 kB / 1.327 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.9385, allocations: 0.5636 MB / 1.327 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.9407, allocations: 0.8532 MB / 1.328 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.9423, allocations: 1.425 MB / 1.33 GB, free: 9.891 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.9432, allocations: 0.6028 MB / 1.33 GB, free: 9.262 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.9438, allocations: 498.3 kB / 1.331 GB, free: 8.773 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.9445, allocations: 0.529 MB / 1.331 GB, free: 8.242 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.9447, allocations: 116 kB / 1.331 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009771/0.9456, allocations: 491.5 kB / 1.332 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.946, allocations: 307 kB / 1.332 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005558/0.9465, allocations: 0.5752 MB / 1.333 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.9486, allocations: 1.673 MB / 1.334 GB, free: 5.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9486, allocations: 0 / 1.334 GB, free: 5.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9486, allocations: 0 / 1.334 GB, free: 5.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.9486, allocations: 3.938 kB / 1.334 GB, free: 5.086 MB / 1.045 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.002643/0.9513, allocations: 1.516 MB / 1.336 GB, free: 3.516 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.9513, allocations: 8.625 kB / 1.336 GB, free: 3.508 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.9515, allocations: 139.5 kB / 1.336 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009022/0.9524, allocations: 196 kB / 1.336 GB, free: 3.172 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.9535, allocations: 0.7862 MB / 1.337 GB, free: 2.344 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/0.9536, allocations: 62 kB / 1.337 GB, free: 2.281 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.9537, allocations: 80 kB / 1.337 GB, free: 2.203 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.9553, allocations: 0.9457 MB / 1.338 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.9554, allocations: 0 / 1.338 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.672e-05/0.9555, allocations: 39.98 kB / 1.338 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.9555, allocations: 24 kB / 1.338 GB, free: 1.156 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.9574, allocations: 1.132 MB / 1.339 GB, free: 20 kB / 1.045 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.004098/0.9615, allocations: 2.736 MB / 1.342 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.9632, allocations: 0.9149 MB / 1.343 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.9638, allocations: 318.6 kB / 1.343 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.197e-05/0.9639, allocations: 32.69 kB / 1.343 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009194/0.9648, allocations: 0.5139 MB / 1.343 GB, free: 11.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 2.374e-06/0.9648, allocations: 4 kB / 1.343 GB, free: 11.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.003319/0.9681, allocations: 1.259 MB / 1.345 GB, free: 10.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.9683, allocations: 200.8 kB / 1.345 GB, free: 9.828 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000813/0.9691, allocations: 0.6333 MB / 1.345 GB, free: 9.188 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.9692, allocations: 41.7 kB / 1.346 GB, free: 9.141 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.9695, allocations: 417 kB / 1.346 GB, free: 8.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.9698, allocations: 285.5 kB / 1.346 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.97, allocations: 154.6 kB / 1.346 GB, free: 8.289 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.9702, allocations: 390.8 kB / 1.347 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.9708, allocations: 257.9 kB / 1.347 GB, free: 7.645 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.9714, allocations: 375.3 kB / 1.347 GB, free: 7.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.9726, allocations: 0.6172 MB / 1.348 GB, free: 6.621 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9726, allocations: 0 / 1.348 GB, free: 6.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001928/0.9746, allocations: 0.8374 MB / 1.349 GB, free: 5.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.9746, allocations: 16.06 kB / 1.349 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9746, allocations: 0 / 1.349 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.9752, allocations: 84.77 kB / 1.349 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/0.9759, allocations: 155.8 kB / 1.349 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.978, allocations: 1.648 MB / 1.351 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.9787, allocations: 91.47 kB / 1.351 GB, free: 3.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.9788, allocations: 39.91 kB / 1.351 GB, free: 3.594 MB / 1.061 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.0003833/0.9792, allocations: 270.4 kB / 1.351 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.9793, allocations: 91.44 kB / 1.351 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.9819, allocations: 1.144 MB / 1.352 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.9819, allocations: 8 kB / 1.352 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.9819, allocations: 4 kB / 1.352 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.9819, allocations: 7.969 kB / 1.352 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.9853, allocations: 2.029 MB / 1.354 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.9853, allocations: 4 kB / 1.354 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.9859, allocations: 151.8 kB / 1.354 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/0.9864, allocations: 76.73 kB / 1.354 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.9864, allocations: 27.97 kB / 1.354 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.9884, allocations: 1.658 MB / 1.356 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9884, allocations: 0 / 1.356 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.9906, allocations: 1.053 MB / 1.357 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.9909, allocations: 292.1 kB / 1.357 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.9911, allocations: 24 kB / 1.357 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.9918, allocations: 67.92 kB / 1.357 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.9919, allocations: 80.83 kB / 1.358 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/0.992, allocations: 31.98 kB / 1.358 GB, free: 12.32 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006018/0.9926, allocations: 471 kB / 1.358 GB, free: 11.87 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9926, allocations: 0 / 1.358 GB, free: 11.87 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009004/0.9935, allocations: 335.1 kB / 1.358 GB, free: 11.54 MB / 1.076 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.004144/0.9977, allocations: 2.112 MB / 1.36 GB, free: 9.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.9994, allocations: 0.8431 MB / 1.361 GB, free: 8.715 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9994, allocations: 0 / 1.361 GB, free: 8.715 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009761/1, allocations: 0.5509 MB / 1.362 GB, free: 8.152 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.002, allocations: 308 kB / 1.362 GB, free: 7.871 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/1.012, allocations: 6.419 MB / 1.368 GB, free: 1.289 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/1.013, allocations: 1.036 MB / 1.369 GB, free: 232 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008245/1.014, allocations: 278.9 kB / 1.37 GB, free: 15.95 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/1.014, allocations: 403.3 kB / 1.37 GB, free: 15.55 MB / 1.092 GB Notification: Performance of SimCode: time 5.21e-07/1.014, allocations: 0 / 1.37 GB, free: 15.55 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/1.071, allocations: 22.27 MB / 1.392 GB, free: 9.527 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.97, allocations: 4.062 kB / 1.392 GB, free: 9.523 MB / 1.107 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: 19.670568065950647]