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.001618/0.001618, allocations: 118 kB / 17.08 MB, free: 5.824 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.001611/0.001611, allocations: 189.2 kB / 20.03 MB, free: 2.93 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.309 MB / 190.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.704/2.704, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007396/0.3359, allocations: 4.945 MB / 1.181 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9076/1.244, allocations: 150.7 MB / 1.328 GB, free: 9.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009765/1.245, allocations: 14.88 kB / 1.328 GB, free: 9.953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006813/1.245, allocations: 184.5 kB / 1.328 GB, free: 9.852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/1.248, allocations: 0.5647 MB / 1.329 GB, free: 9.602 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/1.25, allocations: 0.8516 MB / 1.329 GB, free: 9.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00196/1.252, allocations: 1.43 MB / 1.331 GB, free: 9.172 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009734/1.253, allocations: 0.5884 MB / 1.331 GB, free: 9.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009005/1.254, allocations: 0.4927 MB / 1.332 GB, free: 8.918 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007436/1.255, allocations: 0.5227 MB / 1.332 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/1.255, allocations: 117.7 kB / 1.332 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/1.256, allocations: 489.5 kB / 1.333 GB, free: 8.699 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/1.256, allocations: 305.1 kB / 1.333 GB, free: 8.508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000725/1.257, allocations: 0.5744 MB / 1.334 GB, free: 8.125 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002769/1.26, allocations: 1.68 MB / 1.335 GB, free: 7.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.26, allocations: 0.7969 kB / 1.335 GB, free: 7.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.334e-06/1.26, allocations: 1.406 kB / 1.335 GB, free: 7.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.875e-05/1.26, allocations: 0 / 1.335 GB, free: 7.41 MB / 1.014 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.003348/1.263, allocations: 1.5 MB / 1.337 GB, free: 6.387 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.263, allocations: 10.62 kB / 1.337 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/1.264, allocations: 196.8 kB / 1.337 GB, free: 6.316 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.266, allocations: 0.7797 MB / 1.338 GB, free: 5.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/1.266, allocations: 66.72 kB / 1.338 GB, free: 5.777 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/1.266, allocations: 87.31 kB / 1.338 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.268, allocations: 0.9433 MB / 1.339 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.268, allocations: 0 / 1.339 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.163e-05/1.268, allocations: 41.72 kB / 1.339 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/1.268, allocations: 20.12 kB / 1.339 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/1.27, allocations: 1.138 MB / 1.34 GB, free: 5.02 MB / 1.014 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.004567/1.274, allocations: 2.732 MB / 1.343 GB, free: 3.363 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.276, allocations: 0.9131 MB / 1.344 GB, free: 2.949 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/1.277, allocations: 316.5 kB / 1.344 GB, free: 2.832 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/1.277, allocations: 37.61 kB / 1.344 GB, free: 2.816 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/1.278, allocations: 0.5191 MB / 1.344 GB, free: 2.602 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 4.799e-06/1.278, allocations: 5.062 kB / 1.344 GB, free: 2.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.003613/1.281, allocations: 1.265 MB / 1.346 GB, free: 2.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.282, allocations: 190.5 kB / 1.346 GB, free: 1.852 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/1.283, allocations: 0.6362 MB / 1.346 GB, free: 1.574 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.283, allocations: 42.83 kB / 1.347 GB, free: 1.531 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/1.283, allocations: 412.6 kB / 1.347 GB, free: 1.207 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/1.283, allocations: 292.7 kB / 1.347 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/1.284, allocations: 171.6 kB / 1.347 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002283/1.284, allocations: 393.1 kB / 1.348 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/1.284, allocations: 280.2 kB / 1.348 GB, free: 460 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/1.285, allocations: 386.3 kB / 1.348 GB, free: 284 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.286, allocations: 0.6377 MB / 1.349 GB, free: 15.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.286, allocations: 0 / 1.349 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002212/1.289, allocations: 0.892 MB / 1.35 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.289, allocations: 7.5 kB / 1.35 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.289, allocations: 1.875 kB / 1.35 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/1.289, allocations: 82.25 kB / 1.35 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/1.29, allocations: 170.4 kB / 1.35 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/1.292, allocations: 1.632 MB / 1.352 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.293, allocations: 99.61 kB / 1.352 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/1.294, allocations: 42.16 kB / 1.352 GB, free: 13.99 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (101): * Single equations (assignments): 100 * 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.0006909/1.294, allocations: 280 kB / 1.352 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/1.294, allocations: 88.53 kB / 1.352 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/1.297, allocations: 1.135 MB / 1.353 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/1.297, allocations: 13.62 kB / 1.353 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.297, allocations: 1.281 kB / 1.353 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.297, allocations: 8.344 kB / 1.353 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/1.301, allocations: 2.017 MB / 1.355 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.301, allocations: 6.344 kB / 1.355 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/1.302, allocations: 159.3 kB / 1.355 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/1.302, allocations: 70.75 kB / 1.356 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.911e-05/1.303, allocations: 24.66 kB / 1.356 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/1.305, allocations: 1.669 MB / 1.357 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.305, allocations: 0 / 1.357 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.307, allocations: 1.056 MB / 1.358 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006249/1.308, allocations: 284.9 kB / 1.358 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/1.308, allocations: 20.72 kB / 1.359 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007966/1.309, allocations: 62.83 kB / 1.359 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/1.309, allocations: 78.97 kB / 1.359 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/1.309, allocations: 40.09 kB / 1.359 GB, free: 9.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008307/1.31, allocations: 465.6 kB / 1.359 GB, free: 9.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.5e-07/1.31, allocations: 0 / 1.359 GB, free: 9.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001588/1.312, allocations: 338.2 kB / 1.359 GB, free: 9.684 MB / 1.029 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.002277/1.314, allocations: 0.6258 MB / 1.36 GB, free: 9.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002262/1.316, allocations: 0.8698 MB / 1.361 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.317, allocations: 0 / 1.361 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/1.318, allocations: 0.545 MB / 1.361 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.32, allocations: 295 kB / 1.362 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/1.324, allocations: 1.773 MB / 1.363 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009848/1.325, allocations: 1.038 MB / 1.364 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/1.325, allocations: 119.4 kB / 1.365 GB, free: 7.023 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/1.325, allocations: 0 / 1.365 GB, free: 7.023 MB / 1.029 GB Notification: Performance of Templates: time 0.03181/1.357, allocations: 19.09 MB / 1.383 GB, free: 13.1 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400] 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: 14.41738543601241]