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.001729/0.001729, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002107/0.002107, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.467/1.467, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.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.812/2.812, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 176] 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: 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: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.91 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9675/0.9694, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006492/0.9759, allocations: 5.001 MB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2031/1.179, allocations: 151.2 MB / 1.424 GB, free: 3.828 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/1.18, allocations: 19.72 kB / 1.424 GB, free: 3.82 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007198/1.181, allocations: 198 kB / 1.425 GB, free: 3.645 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/1.183, allocations: 0.5764 MB / 1.425 GB, free: 3.211 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/1.185, allocations: 0.8634 MB / 1.426 GB, free: 2.551 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001997/1.187, allocations: 1.43 MB / 1.427 GB, free: 1.664 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/1.188, allocations: 425.6 kB / 1.428 GB, free: 1.352 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009389/1.189, allocations: 0.501 MB / 1.428 GB, free: 1.051 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/1.19, allocations: 0.5231 MB / 1.429 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/1.19, allocations: 118.1 kB / 1.429 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/1.191, allocations: 495.2 kB / 1.429 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003951/1.192, allocations: 306.4 kB / 1.43 GB, free: 256 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007293/1.192, allocations: 0.5687 MB / 1.43 GB, free: 15.83 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002781/1.195, allocations: 1.679 MB / 1.432 GB, free: 14.62 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.195, allocations: 1.156 kB / 1.432 GB, free: 14.62 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/1.195, allocations: 0 / 1.432 GB, free: 14.62 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.77e-05/1.195, allocations: 0 / 1.432 GB, free: 14.62 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.003176/1.198, allocations: 1.502 MB / 1.433 GB, free: 13.43 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/1.198, allocations: 8.25 kB / 1.433 GB, free: 13.43 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/1.199, allocations: 201.6 kB / 1.434 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.201, allocations: 0.7733 MB / 1.434 GB, free: 12.7 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/1.201, allocations: 69.45 kB / 1.434 GB, free: 12.66 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/1.201, allocations: 83.16 kB / 1.435 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.203, allocations: 0.9475 MB / 1.435 GB, free: 12.03 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.203, allocations: 4.906 kB / 1.435 GB, free: 12.02 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/1.203, allocations: 40.83 kB / 1.435 GB, free: 11.99 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/1.203, allocations: 25.22 kB / 1.436 GB, free: 11.99 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/1.205, allocations: 1.125 MB / 1.437 GB, free: 11.45 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.004794/1.21, allocations: 2.738 MB / 1.439 GB, free: 8.969 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/1.212, allocations: 0.8697 MB / 1.44 GB, free: 8.074 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005981/1.212, allocations: 286.7 kB / 1.44 GB, free: 7.785 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.561e-05/1.212, allocations: 32.67 kB / 1.44 GB, free: 7.754 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/1.213, allocations: 0.5276 MB / 1.441 GB, free: 7.211 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.174e-06/1.213, allocations: 0 / 1.441 GB, free: 7.211 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003661/1.217, allocations: 1.255 MB / 1.442 GB, free: 5.93 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/1.217, allocations: 196.8 kB / 1.442 GB, free: 5.695 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009984/1.218, allocations: 0.6448 MB / 1.443 GB, free: 5.043 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.791e-05/1.218, allocations: 49.7 kB / 1.443 GB, free: 4.988 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/1.219, allocations: 405.2 kB / 1.443 GB, free: 4.586 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/1.219, allocations: 285.5 kB / 1.444 GB, free: 4.305 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/1.219, allocations: 178.6 kB / 1.444 GB, free: 4.125 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002124/1.219, allocations: 382.8 kB / 1.444 GB, free: 3.742 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/1.22, allocations: 277.8 kB / 1.445 GB, free: 3.469 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007329/1.221, allocations: 387.9 kB / 1.445 GB, free: 3.07 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.222, allocations: 0.6368 MB / 1.446 GB, free: 2.422 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.222, allocations: 0 / 1.446 GB, free: 2.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002289/1.224, allocations: 0.8882 MB / 1.446 GB, free: 1.523 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.224, allocations: 13.97 kB / 1.446 GB, free: 1.512 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.224, allocations: 0 / 1.446 GB, free: 1.512 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/1.225, allocations: 84.89 kB / 1.446 GB, free: 1.426 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/1.226, allocations: 175.7 kB / 1.447 GB, free: 1.254 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/1.228, allocations: 1.627 MB / 1.448 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/1.229, allocations: 102.4 kB / 1.448 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/1.229, allocations: 44.03 kB / 1.448 GB, free: 15.34 MB / 1.139 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.000535/1.23, allocations: 279.6 kB / 1.449 GB, free: 15.06 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/1.23, allocations: 87.44 kB / 1.449 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/1.233, allocations: 1.136 MB / 1.45 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.233, allocations: 8 kB / 1.45 GB, free: 13.81 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.233, allocations: 0 / 1.45 GB, free: 13.81 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.233, allocations: 11.98 kB / 1.45 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/1.237, allocations: 2.017 MB / 1.452 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.237, allocations: 4 kB / 1.452 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/1.237, allocations: 151.8 kB / 1.452 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/1.238, allocations: 72.8 kB / 1.452 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/1.238, allocations: 27.97 kB / 1.452 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/1.24, allocations: 1.666 MB / 1.454 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.24, allocations: 0 / 1.454 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/1.242, allocations: 1.057 MB / 1.455 GB, free: 8.582 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/1.243, allocations: 280.3 kB / 1.455 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.243, allocations: 23.98 kB / 1.455 GB, free: 8.266 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007645/1.244, allocations: 67.92 kB / 1.455 GB, free: 8.199 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/1.244, allocations: 80.88 kB / 1.455 GB, free: 8.121 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.685e-05/1.244, allocations: 35.98 kB / 1.455 GB, free: 8.086 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006416/1.245, allocations: 463 kB / 1.456 GB, free: 7.641 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.245, allocations: 3.938 kB / 1.456 GB, free: 7.637 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009789/1.246, allocations: 339.1 kB / 1.456 GB, free: 7.305 MB / 1.139 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.002018/1.248, allocations: 0.6121 MB / 1.457 GB, free: 6.863 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001904/1.249, allocations: 0.839 MB / 1.457 GB, free: 6.008 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.249, allocations: 0 / 1.457 GB, free: 6.008 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/1.251, allocations: 0.5121 MB / 1.458 GB, free: 5.484 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.252, allocations: 307.6 kB / 1.458 GB, free: 5.203 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/1.255, allocations: 1.732 MB / 1.46 GB, free: 3.445 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/1.256, allocations: 1.04 MB / 1.461 GB, free: 2.379 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008613/1.257, allocations: 270.9 kB / 1.461 GB, free: 2.109 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/1.257, allocations: 115.4 kB / 1.461 GB, free: 1.996 MB / 1.139 GB Notification: Performance of SimCode: time 1.212e-06/1.257, allocations: 0 / 1.461 GB, free: 1.996 MB / 1.139 GB Notification: Performance of Templates: time 0.03041/1.288, allocations: 16.09 MB / 1.477 GB, free: 2.078 MB / 1.154 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 -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/jenkins/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.922258070670068]