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.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.001362/0.001362, allocations: 78.72 kB / 19.76 MB, free: 2.027 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.001552/0.001552, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.671/2.671, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [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.002177/0.002177, allocations: 74.08 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3049, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006414/0.3113, allocations: 4.496 MB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.6838/0.9951, allocations: 132.7 MB / 1.251 GB, free: 3.297 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000848/0.9959, allocations: 23.25 kB / 1.251 GB, free: 3.285 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00067/0.9966, allocations: 205.6 kB / 1.252 GB, free: 3.145 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.9984, allocations: 0.5803 MB / 1.252 GB, free: 2.812 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/1.001, allocations: 0.8758 MB / 1.253 GB, free: 2.359 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001986/1.003, allocations: 1.452 MB / 1.254 GB, free: 1.605 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007772/1.003, allocations: 405.3 kB / 1.255 GB, free: 1.367 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008775/1.004, allocations: 0.5278 MB / 1.255 GB, free: 1.109 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007068/1.005, allocations: 496.3 kB / 1.256 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/1.005, allocations: 119.9 kB / 1.256 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/1.006, allocations: 493.6 kB / 1.256 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003432/1.007, allocations: 308.7 kB / 1.257 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005236/1.007, allocations: 484.5 kB / 1.257 GB, free: 300 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/1.009, allocations: 1.728 MB / 1.259 GB, free: 15.57 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.009, allocations: 0 / 1.259 GB, free: 15.57 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.323e-06/1.009, allocations: 0 / 1.259 GB, free: 15.57 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.141e-05/1.009, allocations: 5.469 kB / 1.259 GB, free: 15.56 MB / 1.123 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.002819/1.012, allocations: 1.451 MB / 1.26 GB, free: 14.62 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.012, allocations: 8.812 kB / 1.26 GB, free: 14.62 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/1.014, allocations: 253.9 kB / 1.261 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/1.015, allocations: 0.7268 MB / 1.261 GB, free: 14.09 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/1.015, allocations: 62.19 kB / 1.261 GB, free: 14.07 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.016, allocations: 84.52 kB / 1.261 GB, free: 14.04 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/1.017, allocations: 1.201 MB / 1.263 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/1.017, allocations: 4 kB / 1.263 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/1.018, allocations: 37.7 kB / 1.263 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/1.018, allocations: 26 kB / 1.263 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/1.019, allocations: 1.089 MB / 1.264 GB, free: 13 MB / 1.123 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.004115/1.024, allocations: 2.121 MB / 1.266 GB, free: 11.76 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.025, allocations: 0.7808 MB / 1.267 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/1.026, allocations: 293.8 kB / 1.267 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.118e-05/1.026, allocations: 25.48 kB / 1.267 GB, free: 11.33 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/1.027, allocations: 0.631 MB / 1.267 GB, free: 10.98 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.695e-06/1.027, allocations: 5.156 kB / 1.267 GB, free: 10.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003472/1.03, allocations: 1.179 MB / 1.269 GB, free: 10.55 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.031, allocations: 194.8 kB / 1.269 GB, free: 10.33 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/1.031, allocations: 0.6166 MB / 1.269 GB, free: 10.05 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/1.032, allocations: 43.69 kB / 1.269 GB, free: 10 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/1.032, allocations: 411.9 kB / 1.27 GB, free: 9.684 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/1.032, allocations: 289.5 kB / 1.27 GB, free: 9.457 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/1.032, allocations: 173.3 kB / 1.27 GB, free: 9.375 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002186/1.033, allocations: 389.4 kB / 1.271 GB, free: 9.027 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/1.033, allocations: 281.2 kB / 1.271 GB, free: 8.93 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/1.034, allocations: 0.4951 MB / 1.271 GB, free: 8.609 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.035, allocations: 0.6321 MB / 1.272 GB, free: 8.312 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.035, allocations: 5.125 kB / 1.272 GB, free: 8.309 MB / 1.123 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002373/1.038, allocations: 0.8912 MB / 1.273 GB, free: 7.953 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.038, allocations: 5.719 kB / 1.273 GB, free: 7.953 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.038, allocations: 1.062 kB / 1.273 GB, free: 7.953 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/1.038, allocations: 88.89 kB / 1.273 GB, free: 7.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/1.039, allocations: 171.2 kB / 1.273 GB, free: 7.914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/1.042, allocations: 1.497 MB / 1.275 GB, free: 6.543 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/1.042, allocations: 95.42 kB / 1.275 GB, free: 6.496 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/1.043, allocations: 35.33 kB / 1.275 GB, free: 6.492 MB / 1.123 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.0004454/1.043, allocations: 286 kB / 1.275 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.043, allocations: 83.66 kB / 1.275 GB, free: 6.238 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/1.046, allocations: 1.14 MB / 1.276 GB, free: 5.797 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/1.046, allocations: 9.641 kB / 1.276 GB, free: 5.797 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.046, allocations: 1.344 kB / 1.276 GB, free: 5.797 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.046, allocations: 8.812 kB / 1.276 GB, free: 5.793 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/1.049, allocations: 1.76 MB / 1.278 GB, free: 4.969 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/1.049, allocations: 3 kB / 1.278 GB, free: 4.969 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/1.05, allocations: 152.5 kB / 1.278 GB, free: 4.957 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/1.05, allocations: 76.41 kB / 1.278 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.727e-05/1.05, allocations: 35.94 kB / 1.278 GB, free: 4.914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/1.052, allocations: 1.516 MB / 1.28 GB, free: 3.535 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.052, allocations: 0 / 1.28 GB, free: 3.535 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/1.055, allocations: 1.07 MB / 1.281 GB, free: 3.043 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/1.055, allocations: 197.9 kB / 1.281 GB, free: 2.941 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.055, allocations: 30.88 kB / 1.281 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/1.056, allocations: 67.33 kB / 1.281 GB, free: 2.902 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.056, allocations: 82.28 kB / 1.281 GB, free: 2.887 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/1.056, allocations: 38.98 kB / 1.281 GB, free: 2.879 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006055/1.057, allocations: 443.9 kB / 1.282 GB, free: 2.688 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.057, allocations: 1.125 kB / 1.282 GB, free: 2.688 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00101/1.058, allocations: 347.5 kB / 1.282 GB, free: 2.59 MB / 1.123 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.002067/1.06, allocations: 0.6511 MB / 1.283 GB, free: 2.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0018/1.062, allocations: 0.8368 MB / 1.283 GB, free: 2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.062, allocations: 0 / 1.283 GB, free: 2 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/1.063, allocations: 0.5088 MB / 1.284 GB, free: 1.762 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.064, allocations: 295.6 kB / 1.284 GB, free: 1.664 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/1.067, allocations: 1.748 MB / 1.286 GB, free: 0.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/1.068, allocations: 455.8 kB / 1.286 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008061/1.068, allocations: 270.1 kB / 1.287 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/1.069, allocations: 116.5 kB / 1.287 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of SimCode: time 5.91e-07/1.069, allocations: 0 / 1.287 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of Templates: time 0.02944/1.098, allocations: 15.77 MB / 1.302 GB, free: 10.55 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400] 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/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: 9.147051546955481]