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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006652/0.006652, allocations: 96.31 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 195.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3101, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006495/0.3166, allocations: 4.954 MB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7756/1.092, allocations: 151.1 MB / 1.373 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/1.094, allocations: 23.66 kB / 1.373 GB, free: 10.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/1.095, allocations: 194.9 kB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/1.099, allocations: 0.5641 MB / 1.374 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/1.102, allocations: 0.8521 MB / 1.375 GB, free: 9.938 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002278/1.105, allocations: 1.432 MB / 1.376 GB, free: 9.203 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009955/1.106, allocations: 433.3 kB / 1.376 GB, free: 8.938 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/1.107, allocations: 0.4983 MB / 1.377 GB, free: 8.695 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/1.108, allocations: 0.5168 MB / 1.377 GB, free: 8.426 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004291/1.108, allocations: 118.8 kB / 1.377 GB, free: 8.426 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/1.11, allocations: 488.8 kB / 1.378 GB, free: 8.309 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005827/1.111, allocations: 303.8 kB / 1.378 GB, free: 8.117 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/1.112, allocations: 0.5774 MB / 1.379 GB, free: 7.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/1.115, allocations: 1.683 MB / 1.38 GB, free: 6.742 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.115, allocations: 0 / 1.38 GB, free: 6.742 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.976e-06/1.115, allocations: 1.125 kB / 1.38 GB, free: 6.742 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.323e-05/1.115, allocations: 0 / 1.38 GB, free: 6.742 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.003044/1.118, allocations: 1.501 MB / 1.382 GB, free: 5.555 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/1.118, allocations: 9.25 kB / 1.382 GB, free: 5.555 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009375/1.119, allocations: 193.8 kB / 1.382 GB, free: 5.461 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.12, allocations: 0.7806 MB / 1.383 GB, free: 4.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/1.12, allocations: 65.69 kB / 1.383 GB, free: 4.789 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.12, allocations: 82.97 kB / 1.383 GB, free: 4.762 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/1.122, allocations: 0.9484 MB / 1.384 GB, free: 4.152 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.122, allocations: 3.938 kB / 1.384 GB, free: 4.148 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/1.122, allocations: 37.06 kB / 1.384 GB, free: 4.121 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/1.122, allocations: 21.16 kB / 1.384 GB, free: 4.121 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/1.124, allocations: 1.131 MB / 1.385 GB, free: 3.582 MB / 1.076 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.004143/1.128, allocations: 2.743 MB / 1.388 GB, free: 1.391 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/1.129, allocations: 0.8599 MB / 1.389 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/1.13, allocations: 291 kB / 1.389 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/1.13, allocations: 27.81 kB / 1.389 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008685/1.131, allocations: 0.5239 MB / 1.389 GB, free: 396 kB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.545e-06/1.131, allocations: 1.469 kB / 1.389 GB, free: 396 kB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.003386/1.134, allocations: 1.261 MB / 1.391 GB, free: 15.7 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/1.134, allocations: 190.3 kB / 1.391 GB, free: 15.48 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008005/1.135, allocations: 0.6375 MB / 1.391 GB, free: 15.11 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.07e-05/1.135, allocations: 43.05 kB / 1.391 GB, free: 15.07 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/1.135, allocations: 413.9 kB / 1.392 GB, free: 14.7 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/1.136, allocations: 287.8 kB / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/1.136, allocations: 178.7 kB / 1.392 GB, free: 14.34 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.136, allocations: 389.6 kB / 1.393 GB, free: 13.97 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005444/1.137, allocations: 277.5 kB / 1.393 GB, free: 13.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/1.137, allocations: 390 kB / 1.393 GB, free: 13.61 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.138, allocations: 0.6346 MB / 1.394 GB, free: 13.27 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.138, allocations: 0.6562 kB / 1.394 GB, free: 13.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00205/1.14, allocations: 0.886 MB / 1.395 GB, free: 12.81 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.14, allocations: 8.547 kB / 1.395 GB, free: 12.81 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.14, allocations: 2.125 kB / 1.395 GB, free: 12.81 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006117/1.141, allocations: 84.16 kB / 1.395 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/1.142, allocations: 175.8 kB / 1.395 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/1.144, allocations: 1.632 MB / 1.397 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/1.145, allocations: 93.94 kB / 1.397 GB, free: 11.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/1.145, allocations: 40.56 kB / 1.397 GB, free: 11.04 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.0004388/1.145, allocations: 279.5 kB / 1.397 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/1.145, allocations: 88.69 kB / 1.397 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/1.148, allocations: 1.138 MB / 1.398 GB, free: 10.15 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.148, allocations: 13.09 kB / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.148, allocations: 0 / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/1.148, allocations: 9.281 kB / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/1.151, allocations: 2.022 MB / 1.4 GB, free: 8.805 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.151, allocations: 7.984 kB / 1.4 GB, free: 8.797 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/1.152, allocations: 150 kB / 1.4 GB, free: 8.766 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/1.152, allocations: 69.56 kB / 1.4 GB, free: 8.73 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/1.152, allocations: 33.45 kB / 1.4 GB, free: 8.707 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/1.154, allocations: 1.667 MB / 1.402 GB, free: 7.086 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.154, allocations: 0 / 1.402 GB, free: 7.086 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.156, allocations: 1.063 MB / 1.403 GB, free: 6.484 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/1.157, allocations: 283.3 kB / 1.403 GB, free: 6.238 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.157, allocations: 16.78 kB / 1.403 GB, free: 6.227 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/1.158, allocations: 70.8 kB / 1.404 GB, free: 6.191 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.158, allocations: 76.52 kB / 1.404 GB, free: 6.152 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/1.158, allocations: 37.09 kB / 1.404 GB, free: 6.141 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005745/1.158, allocations: 466.1 kB / 1.404 GB, free: 5.875 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.158, allocations: 1.344 kB / 1.404 GB, free: 5.875 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009304/1.159, allocations: 338.5 kB / 1.404 GB, free: 5.777 MB / 1.092 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.001333/1.161, allocations: 0.6108 MB / 1.405 GB, free: 5.48 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.162, allocations: 0.8416 MB / 1.406 GB, free: 5.039 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/1.162, allocations: 0 / 1.406 GB, free: 5.039 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009341/1.163, allocations: 0.5078 MB / 1.406 GB, free: 4.742 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.165, allocations: 309.8 kB / 1.407 GB, free: 4.582 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/1.168, allocations: 1.727 MB / 1.408 GB, free: 3.551 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/1.168, allocations: 1.041 MB / 1.409 GB, free: 2.699 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007497/1.169, allocations: 271.6 kB / 1.41 GB, free: 2.562 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/1.169, allocations: 113.8 kB / 1.41 GB, free: 2.523 MB / 1.092 GB Notification: Performance of SimCode: time 7.51e-07/1.169, allocations: 0 / 1.41 GB, free: 2.523 MB / 1.092 GB Notification: Performance of Templates: time 0.02559/1.195, allocations: 15.83 MB / 1.425 GB, free: 3.266 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) 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) Reference file matches