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.001286/0.001286, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001378/0.001378, allocations: 187.8 kB / 22.23 MB, free: 5.164 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.415/1.415, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001978/0.001978, allocations: 59.91 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7947/0.7967, allocations: 160.8 MB / 1.218 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007512/0.8042, allocations: 5.007 MB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1839/0.9881, allocations: 151.2 MB / 1.371 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.9891, allocations: 23.81 kB / 1.371 GB, free: 10.37 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000701/0.9898, allocations: 202.1 kB / 1.371 GB, free: 10.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.992, allocations: 0.5708 MB / 1.372 GB, free: 9.598 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.9943, allocations: 0.8726 MB / 1.373 GB, free: 8.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.9965, allocations: 1.432 MB / 1.374 GB, free: 7.289 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008089/0.9973, allocations: 418.2 kB / 1.374 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008114/0.9981, allocations: 0.5178 MB / 1.375 GB, free: 6.328 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007528/0.9989, allocations: 0.5251 MB / 1.375 GB, free: 5.801 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.999, allocations: 120 kB / 1.376 GB, free: 5.684 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/1, allocations: 491.6 kB / 1.376 GB, free: 5.203 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/1, allocations: 299 kB / 1.376 GB, free: 4.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005677/1.001, allocations: 0.5791 MB / 1.377 GB, free: 4.328 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/1.003, allocations: 1.684 MB / 1.379 GB, free: 2.641 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.003, allocations: 0 / 1.379 GB, free: 2.641 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.242e-06/1.003, allocations: 0 / 1.379 GB, free: 2.641 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.003, allocations: 0 / 1.379 GB, free: 2.641 MB / 1.076 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.002831/1.006, allocations: 1.501 MB / 1.38 GB, free: 1.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/1.006, allocations: 8.031 kB / 1.38 GB, free: 1.082 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009192/1.007, allocations: 196 kB / 1.38 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/1.008, allocations: 0.7864 MB / 1.381 GB, free: 64 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/1.008, allocations: 66.03 kB / 1.381 GB, free: 15.99 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/1.008, allocations: 84 kB / 1.381 GB, free: 15.91 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/1.01, allocations: 0.9417 MB / 1.382 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/1.01, allocations: 4 kB / 1.382 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/1.01, allocations: 36 kB / 1.382 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/1.01, allocations: 20 kB / 1.382 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/1.012, allocations: 1.128 MB / 1.383 GB, free: 13.74 MB / 1.092 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.004578/1.017, allocations: 2.74 MB / 1.386 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/1.018, allocations: 0.8696 MB / 1.387 GB, free: 10 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/1.019, allocations: 290.7 kB / 1.387 GB, free: 9.711 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.462e-05/1.019, allocations: 32.67 kB / 1.387 GB, free: 9.68 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/1.02, allocations: 0.5128 MB / 1.388 GB, free: 9.148 MB / 1.092 GB Notification: Performance of pre-optimization done (n=85): time 2.915e-06/1.02, allocations: 4 kB / 1.388 GB, free: 9.145 MB / 1.092 GB Notification: Performance of matching and sorting (n=85): time 0.003478/1.024, allocations: 1.263 MB / 1.389 GB, free: 7.855 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.024, allocations: 192.9 kB / 1.389 GB, free: 7.625 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/1.025, allocations: 0.6488 MB / 1.39 GB, free: 6.969 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/1.025, allocations: 41.7 kB / 1.39 GB, free: 6.922 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/1.025, allocations: 409 kB / 1.39 GB, free: 6.516 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/1.025, allocations: 285.6 kB / 1.39 GB, free: 6.234 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/1.026, allocations: 174.5 kB / 1.39 GB, free: 6.055 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002229/1.026, allocations: 390.8 kB / 1.391 GB, free: 5.664 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/1.026, allocations: 277.8 kB / 1.391 GB, free: 5.395 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006965/1.027, allocations: 391.9 kB / 1.391 GB, free: 4.996 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.028, allocations: 0.6329 MB / 1.392 GB, free: 4.348 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/1.028, allocations: 0 / 1.392 GB, free: 4.348 MB / 1.092 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002092/1.031, allocations: 0.8882 MB / 1.393 GB, free: 3.453 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.031, allocations: 11.94 kB / 1.393 GB, free: 3.441 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.031, allocations: 128 / 1.393 GB, free: 3.441 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/1.031, allocations: 84.77 kB / 1.393 GB, free: 3.355 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/1.032, allocations: 175.7 kB / 1.393 GB, free: 3.184 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/1.034, allocations: 1.625 MB / 1.395 GB, free: 1.414 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/1.035, allocations: 99.52 kB / 1.395 GB, free: 1.316 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/1.035, allocations: 43.97 kB / 1.395 GB, free: 1.273 MB / 1.092 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.00058/1.036, allocations: 275.4 kB / 1.395 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/1.036, allocations: 91.44 kB / 1.395 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/1.039, allocations: 1.136 MB / 1.396 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.039, allocations: 12 kB / 1.396 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.039, allocations: 7.938 kB / 1.396 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.039, allocations: 3.984 kB / 1.396 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/1.042, allocations: 2.013 MB / 1.398 GB, free: 13.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.042, allocations: 0 / 1.398 GB, free: 13.66 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/1.043, allocations: 155.8 kB / 1.399 GB, free: 13.5 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/1.043, allocations: 72.78 kB / 1.399 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/1.043, allocations: 27.97 kB / 1.399 GB, free: 13.4 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/1.046, allocations: 1.659 MB / 1.4 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.046, allocations: 0 / 1.4 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/1.048, allocations: 1.065 MB / 1.401 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/1.048, allocations: 276.2 kB / 1.402 GB, free: 10.22 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.048, allocations: 27.94 kB / 1.402 GB, free: 10.2 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/1.049, allocations: 67.92 kB / 1.402 GB, free: 10.13 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.049, allocations: 80.84 kB / 1.402 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/1.049, allocations: 39.97 kB / 1.402 GB, free: 10.01 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006597/1.05, allocations: 463 kB / 1.402 GB, free: 9.562 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/1.05, allocations: 0 / 1.402 GB, free: 9.562 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009737/1.051, allocations: 339.1 kB / 1.403 GB, free: 9.23 MB / 1.107 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.002072/1.053, allocations: 0.6236 MB / 1.403 GB, free: 8.777 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00191/1.055, allocations: 0.8431 MB / 1.404 GB, free: 7.926 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.055, allocations: 4 kB / 1.404 GB, free: 7.922 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001/1.056, allocations: 0.508 MB / 1.404 GB, free: 7.402 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.057, allocations: 307.7 kB / 1.405 GB, free: 7.117 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/1.061, allocations: 1.726 MB / 1.406 GB, free: 5.363 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/1.061, allocations: 1.036 MB / 1.407 GB, free: 4.301 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007865/1.062, allocations: 270.9 kB / 1.408 GB, free: 4.031 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/1.062, allocations: 111.4 kB / 1.408 GB, free: 3.922 MB / 1.107 GB Notification: Performance of SimCode: time 7.72e-07/1.062, allocations: 0 / 1.408 GB, free: 3.922 MB / 1.107 GB Notification: Performance of Templates: time 0.03012/1.092, allocations: 16.34 MB / 1.424 GB, free: 3.715 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.267752236686647]