Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001564/0.001564, allocations: 114 kB / 18.14 MB, free: 3.781 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.001707/0.001707, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.441/1.441, allocations: 225.6 MB / 250.2 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.636/2.636, allocations: 476.7 MB / 0.7637 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 1.108 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8043, allocations: 168.7 MB / 1.273 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007557/0.8118, allocations: 4.995 MB / 1.278 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.9899, allocations: 151.2 MB / 1.425 GB, free: 7.492 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009969/0.9909, allocations: 19.88 kB / 1.425 GB, free: 7.473 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008652/0.9918, allocations: 198.1 kB / 1.426 GB, free: 7.277 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.994, allocations: 0.5641 MB / 1.426 GB, free: 6.715 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.9964, allocations: 0.8657 MB / 1.427 GB, free: 5.852 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.9984, allocations: 1.433 MB / 1.428 GB, free: 4.414 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009446/0.9994, allocations: 426.2 kB / 1.429 GB, free: 3.977 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008998/1, allocations: 0.4983 MB / 1.429 GB, free: 3.477 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008869/1.001, allocations: 0.5212 MB / 1.43 GB, free: 2.953 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002815/1.001, allocations: 120 kB / 1.43 GB, free: 2.836 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/1.003, allocations: 491.5 kB / 1.43 GB, free: 2.355 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003996/1.003, allocations: 307 kB / 1.431 GB, free: 2.055 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007653/1.004, allocations: 0.5752 MB / 1.431 GB, free: 1.477 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/1.006, allocations: 1.679 MB / 1.433 GB, free: 15.79 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.006, allocations: 0 / 1.433 GB, free: 15.79 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.134e-06/1.006, allocations: 0 / 1.433 GB, free: 15.79 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.772e-05/1.006, allocations: 0 / 1.433 GB, free: 15.79 MB / 1.139 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.003453/1.01, allocations: 1.509 MB / 1.434 GB, free: 14.23 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.01, allocations: 8.031 kB / 1.434 GB, free: 14.22 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/1.01, allocations: 139.6 kB / 1.434 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/1.011, allocations: 196 kB / 1.435 GB, free: 13.88 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/1.013, allocations: 0.7862 MB / 1.435 GB, free: 13.05 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/1.013, allocations: 66 kB / 1.435 GB, free: 12.99 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.013, allocations: 84 kB / 1.436 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/1.015, allocations: 0.9534 MB / 1.436 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.015, allocations: 3.938 kB / 1.436 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.015, allocations: 44 kB / 1.437 GB, free: 11.87 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/1.015, allocations: 20 kB / 1.437 GB, free: 11.85 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/1.017, allocations: 1.124 MB / 1.438 GB, free: 10.72 MB / 1.139 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.004962/1.022, allocations: 2.75 MB / 1.44 GB, free: 7.859 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/1.024, allocations: 0.8602 MB / 1.441 GB, free: 6.973 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/1.024, allocations: 290.7 kB / 1.441 GB, free: 6.68 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.719e-05/1.024, allocations: 32.69 kB / 1.441 GB, free: 6.648 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009764/1.025, allocations: 0.5138 MB / 1.442 GB, free: 6.121 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.896e-06/1.025, allocations: 4 kB / 1.442 GB, free: 6.117 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.003586/1.029, allocations: 1.255 MB / 1.443 GB, free: 4.84 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/1.029, allocations: 200.8 kB / 1.443 GB, free: 4.598 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.03, allocations: 0.6372 MB / 1.444 GB, free: 3.949 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.03, allocations: 41.7 kB / 1.444 GB, free: 3.902 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/1.03, allocations: 417 kB / 1.444 GB, free: 3.488 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/1.031, allocations: 281.6 kB / 1.445 GB, free: 3.211 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/1.031, allocations: 154.6 kB / 1.445 GB, free: 3.055 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002125/1.031, allocations: 386.8 kB / 1.445 GB, free: 2.668 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/1.032, allocations: 257.9 kB / 1.446 GB, free: 2.418 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/1.032, allocations: 379.5 kB / 1.446 GB, free: 2.012 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.034, allocations: 0.6172 MB / 1.446 GB, free: 1.383 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.034, allocations: 0 / 1.446 GB, free: 1.383 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002127/1.036, allocations: 0.8374 MB / 1.447 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/1.036, allocations: 11.94 kB / 1.447 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.036, allocations: 0 / 1.447 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/1.036, allocations: 88.83 kB / 1.447 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/1.037, allocations: 155.8 kB / 1.448 GB, free: 288 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/1.04, allocations: 1.634 MB / 1.449 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009467/1.041, allocations: 93.69 kB / 1.449 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/1.041, allocations: 39.91 kB / 1.449 GB, free: 14.37 MB / 1.154 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.0005892/1.041, allocations: 266.2 kB / 1.45 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/1.041, allocations: 91.42 kB / 1.45 GB, free: 14.01 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/1.044, allocations: 1.144 MB / 1.451 GB, free: 12.85 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/1.044, allocations: 12 kB / 1.451 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.044, allocations: 0 / 1.451 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.044, allocations: 3.984 kB / 1.451 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/1.048, allocations: 2.036 MB / 1.453 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.048, allocations: 0 / 1.453 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/1.048, allocations: 159.8 kB / 1.453 GB, free: 10.58 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/1.049, allocations: 68.8 kB / 1.453 GB, free: 10.51 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/1.049, allocations: 31.97 kB / 1.453 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.051, allocations: 1.662 MB / 1.455 GB, free: 8.672 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.051, allocations: 7.969 kB / 1.455 GB, free: 8.664 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/1.053, allocations: 1.045 MB / 1.456 GB, free: 7.602 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/1.054, allocations: 292.1 kB / 1.456 GB, free: 7.297 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/1.054, allocations: 16 kB / 1.456 GB, free: 7.281 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/1.055, allocations: 67.92 kB / 1.456 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.055, allocations: 84.83 kB / 1.456 GB, free: 7.133 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/1.055, allocations: 39.97 kB / 1.456 GB, free: 7.094 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000604/1.055, allocations: 463 kB / 1.457 GB, free: 6.648 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.055, allocations: 0 / 1.457 GB, free: 6.648 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009069/1.056, allocations: 331.1 kB / 1.457 GB, free: 6.324 MB / 1.154 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.004291/1.061, allocations: 2.116 MB / 1.459 GB, free: 4.375 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001888/1.063, allocations: 0.8116 MB / 1.46 GB, free: 3.551 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.063, allocations: 4.25 kB / 1.46 GB, free: 3.547 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000998/1.064, allocations: 0.5157 MB / 1.46 GB, free: 3.016 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.065, allocations: 309.8 kB / 1.461 GB, free: 2.734 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.076, allocations: 6.445 MB / 1.467 GB, free: 12.13 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/1.077, allocations: 1.036 MB / 1.468 GB, free: 11.06 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008573/1.077, allocations: 267 kB / 1.468 GB, free: 10.8 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/1.078, allocations: 403.2 kB / 1.468 GB, free: 10.4 MB / 1.17 GB Notification: Performance of SimCode: time 9.82e-07/1.078, allocations: 4 kB / 1.468 GB, free: 10.4 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06187/1.14, allocations: 22.44 MB / 1.49 GB, free: 4.188 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.45, allocations: 9 kB / 1.49 GB, free: 4.188 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.455613672733307]