Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001329/0.001329, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.00152/0.00152, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.936/2.936, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002089/0.002089, allocations: 67.84 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8619, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005789/0.8677, allocations: 4.501 MB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.183/1.051, allocations: 132.7 MB / 1.321 GB, free: 12.7 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/1.052, allocations: 23.81 kB / 1.321 GB, free: 12.68 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006541/1.052, allocations: 198.2 kB / 1.321 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/1.054, allocations: 0.574 MB / 1.321 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/1.057, allocations: 0.8779 MB / 1.322 GB, free: 11.04 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001702/1.058, allocations: 1.456 MB / 1.324 GB, free: 9.578 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007069/1.059, allocations: 402.2 kB / 1.324 GB, free: 9.16 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00073/1.06, allocations: 0.5333 MB / 1.325 GB, free: 8.625 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/1.061, allocations: 487.8 kB / 1.325 GB, free: 8.148 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/1.061, allocations: 124 kB / 1.325 GB, free: 8.027 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/1.062, allocations: 499.6 kB / 1.326 GB, free: 7.539 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/1.062, allocations: 307 kB / 1.326 GB, free: 7.238 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004979/1.063, allocations: 477.7 kB / 1.326 GB, free: 6.77 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/1.065, allocations: 1.739 MB / 1.328 GB, free: 5.027 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.065, allocations: 0 / 1.328 GB, free: 5.027 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.352e-06/1.065, allocations: 0 / 1.328 GB, free: 5.027 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.49e-05/1.065, allocations: 0 / 1.328 GB, free: 5.027 MB / 1.17 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.002716/1.067, allocations: 1.453 MB / 1.329 GB, free: 3.539 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.067, allocations: 8.031 kB / 1.329 GB, free: 3.531 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/1.069, allocations: 255.9 kB / 1.33 GB, free: 3.281 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.07, allocations: 0.7259 MB / 1.33 GB, free: 2.527 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/1.071, allocations: 62 kB / 1.33 GB, free: 2.465 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.071, allocations: 84 kB / 1.331 GB, free: 2.383 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.072, allocations: 1.197 MB / 1.332 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/1.072, allocations: 3.984 kB / 1.332 GB, free: 1.082 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/1.073, allocations: 40 kB / 1.332 GB, free: 1.043 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/1.073, allocations: 20 kB / 1.332 GB, free: 1.023 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/1.074, allocations: 1.085 MB / 1.333 GB, free: 15.93 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/1.078, allocations: 2.143 MB / 1.335 GB, free: 13.74 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/1.08, allocations: 0.7832 MB / 1.336 GB, free: 12.95 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/1.081, allocations: 294.7 kB / 1.336 GB, free: 12.65 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/1.081, allocations: 28.62 kB / 1.336 GB, free: 12.62 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/1.082, allocations: 0.6221 MB / 1.337 GB, free: 11.96 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.525e-06/1.082, allocations: 0 / 1.337 GB, free: 11.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003544/1.085, allocations: 1.18 MB / 1.338 GB, free: 10.78 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.085, allocations: 192.9 kB / 1.338 GB, free: 10.55 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009109/1.086, allocations: 0.6213 MB / 1.339 GB, free: 9.914 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/1.086, allocations: 41.7 kB / 1.339 GB, free: 9.867 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/1.087, allocations: 413.1 kB / 1.339 GB, free: 9.457 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/1.087, allocations: 289.5 kB / 1.339 GB, free: 9.172 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/1.087, allocations: 178.6 kB / 1.339 GB, free: 8.992 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002142/1.087, allocations: 386.7 kB / 1.34 GB, free: 8.605 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/1.088, allocations: 277.8 kB / 1.34 GB, free: 8.332 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/1.089, allocations: 0.5005 MB / 1.341 GB, free: 7.785 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.09, allocations: 0.6329 MB / 1.341 GB, free: 7.141 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.09, allocations: 0 / 1.341 GB, free: 7.141 MB / 1.186 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003151/1.093, allocations: 0.8882 MB / 1.342 GB, free: 6.238 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/1.093, allocations: 8 kB / 1.342 GB, free: 6.23 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.093, allocations: 0 / 1.342 GB, free: 6.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008732/1.094, allocations: 84.83 kB / 1.342 GB, free: 6.145 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.095, allocations: 175.7 kB / 1.342 GB, free: 5.973 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/1.098, allocations: 1.499 MB / 1.344 GB, free: 4.371 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.1, allocations: 95.62 kB / 1.344 GB, free: 4.277 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.1, allocations: 39.91 kB / 1.344 GB, free: 4.238 MB / 1.186 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.0007268/1.1, allocations: 279.5 kB / 1.344 GB, free: 3.957 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/1.101, allocations: 91.42 kB / 1.344 GB, free: 3.867 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/1.105, allocations: 1.136 MB / 1.345 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/1.105, allocations: 12 kB / 1.345 GB, free: 2.707 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.105, allocations: 3.938 kB / 1.345 GB, free: 2.703 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.105, allocations: 3.984 kB / 1.345 GB, free: 2.699 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005306/1.11, allocations: 1.763 MB / 1.347 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.11, allocations: 0 / 1.347 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.111, allocations: 151.8 kB / 1.347 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006615/1.112, allocations: 72.78 kB / 1.347 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-05/1.112, allocations: 31.97 kB / 1.347 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/1.115, allocations: 1.525 MB / 1.349 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.115, allocations: 7.875 kB / 1.349 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/1.119, allocations: 1.049 MB / 1.35 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/1.119, allocations: 211.1 kB / 1.35 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/1.119, allocations: 28 kB / 1.35 GB, free: 13.69 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009354/1.12, allocations: 63.92 kB / 1.35 GB, free: 13.63 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.121, allocations: 88.78 kB / 1.35 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.121, allocations: 39.97 kB / 1.35 GB, free: 13.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009742/1.122, allocations: 443 kB / 1.351 GB, free: 13.08 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.122, allocations: 0 / 1.351 GB, free: 13.08 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001593/1.123, allocations: 347.1 kB / 1.351 GB, free: 12.74 MB / 1.201 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.002891/1.126, allocations: 0.6401 MB / 1.352 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002852/1.129, allocations: 0.8431 MB / 1.353 GB, free: 11.45 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.129, allocations: 0 / 1.353 GB, free: 11.45 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/1.131, allocations: 0.508 MB / 1.353 GB, free: 10.92 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.133, allocations: 305 kB / 1.353 GB, free: 10.64 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/1.138, allocations: 1.739 MB / 1.355 GB, free: 8.879 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/1.138, allocations: 457.9 kB / 1.355 GB, free: 8.402 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001269/1.14, allocations: 258.7 kB / 1.356 GB, free: 8.145 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/1.14, allocations: 112.4 kB / 1.356 GB, free: 8.035 MB / 1.201 GB Notification: Performance of SimCode: time 6.81e-07/1.14, allocations: 0 / 1.356 GB, free: 8.035 MB / 1.201 GB Notification: Performance of Templates: time 0.03567/1.176, allocations: 15.78 MB / 1.371 GB, free: 8.512 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.760582841001451]