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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001256/0.001256, allocations: 105.4 kB / 16.4 MB, free: 5.977 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.00119/0.00119, allocations: 189.3 kB / 17.34 MB, free: 5.586 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.201/1.201, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.311/2.311, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6553, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005846/0.6612, allocations: 4.95 MB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1359/0.7972, allocations: 150.6 MB / 1.36 GB, free: 1.406 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007065/0.7979, allocations: 19.88 kB / 1.36 GB, free: 1.387 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.7985, allocations: 186.2 kB / 1.361 GB, free: 1.203 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.8002, allocations: 0.5551 MB / 1.361 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.802, allocations: 0.8553 MB / 1.362 GB, free: 15.8 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.8034, allocations: 1.44 MB / 1.363 GB, free: 14.36 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/0.8042, allocations: 0.5872 MB / 1.364 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.8048, allocations: 0.5022 MB / 1.364 GB, free: 13.25 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.8054, allocations: 0.5212 MB / 1.365 GB, free: 12.72 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.8055, allocations: 120 kB / 1.365 GB, free: 12.61 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007446/0.8063, allocations: 491.6 kB / 1.365 GB, free: 12.12 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.8065, allocations: 303 kB / 1.366 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.8069, allocations: 0.5791 MB / 1.366 GB, free: 11.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.8084, allocations: 1.661 MB / 1.368 GB, free: 9.582 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8084, allocations: 3.984 kB / 1.368 GB, free: 9.578 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8084, allocations: 4 kB / 1.368 GB, free: 9.574 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.8084, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.092 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.002211/0.8106, allocations: 1.46 MB / 1.369 GB, free: 8.055 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.8107, allocations: 8.031 kB / 1.369 GB, free: 8.047 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008502/0.8115, allocations: 191.4 kB / 1.37 GB, free: 7.859 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009907/0.8125, allocations: 0.778 MB / 1.37 GB, free: 7.039 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.8126, allocations: 66 kB / 1.37 GB, free: 6.977 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.8127, allocations: 84 kB / 1.37 GB, free: 6.895 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.8141, allocations: 0.9534 MB / 1.371 GB, free: 5.898 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.8141, allocations: 0 / 1.371 GB, free: 5.898 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.8142, allocations: 43.98 kB / 1.371 GB, free: 5.855 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.8143, allocations: 20 kB / 1.371 GB, free: 5.836 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.8159, allocations: 1.124 MB / 1.373 GB, free: 4.715 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.003449/0.8193, allocations: 2.739 MB / 1.375 GB, free: 1.855 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.8208, allocations: 0.9072 MB / 1.376 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.8213, allocations: 310.7 kB / 1.376 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.019e-05/0.8214, allocations: 36.67 kB / 1.376 GB, free: 0.582 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008104/0.8222, allocations: 0.5197 MB / 1.377 GB, free: 48 kB / 1.092 GB Notification: Performance of pre-optimization done (n=85): time 2.194e-06/0.8222, allocations: 0 / 1.377 GB, free: 48 kB / 1.092 GB Notification: Performance of matching and sorting (n=85): time 0.003058/0.8253, allocations: 1.259 MB / 1.378 GB, free: 14.76 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.8254, allocations: 200.9 kB / 1.378 GB, free: 14.52 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.8261, allocations: 0.641 MB / 1.379 GB, free: 13.87 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.8261, allocations: 41.7 kB / 1.379 GB, free: 13.82 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.8264, allocations: 400.4 kB / 1.379 GB, free: 13.43 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.8266, allocations: 276.1 kB / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.8268, allocations: 170.5 kB / 1.38 GB, free: 12.98 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.827, allocations: 394.8 kB / 1.38 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.8275, allocations: 277.8 kB / 1.38 GB, free: 12.31 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.8281, allocations: 376 kB / 1.381 GB, free: 11.93 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.8291, allocations: 0.6329 MB / 1.381 GB, free: 11.28 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8292, allocations: 0 / 1.381 GB, free: 11.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001869/0.831, allocations: 0.8878 MB / 1.382 GB, free: 10.38 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.8311, allocations: 7.938 kB / 1.382 GB, free: 10.38 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8311, allocations: 4.125 kB / 1.382 GB, free: 10.37 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/0.8317, allocations: 80.77 kB / 1.382 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/0.8324, allocations: 175.7 kB / 1.383 GB, free: 10.12 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.8344, allocations: 1.64 MB / 1.384 GB, free: 8.332 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/0.8351, allocations: 107.2 kB / 1.384 GB, free: 8.227 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.8352, allocations: 39.91 kB / 1.384 GB, free: 8.188 MB / 1.107 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.0004156/0.8356, allocations: 279.7 kB / 1.385 GB, free: 7.906 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.8358, allocations: 82.97 kB / 1.385 GB, free: 7.824 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.8381, allocations: 1.144 MB / 1.386 GB, free: 6.664 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.8381, allocations: 8 kB / 1.386 GB, free: 6.656 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.8381, allocations: 0 / 1.386 GB, free: 6.656 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.8381, allocations: 7.969 kB / 1.386 GB, free: 6.648 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.8411, allocations: 2.021 MB / 1.388 GB, free: 4.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8411, allocations: 4 kB / 1.388 GB, free: 4.566 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.8417, allocations: 151.8 kB / 1.388 GB, free: 4.418 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.8422, allocations: 72.8 kB / 1.388 GB, free: 4.344 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.8422, allocations: 27.97 kB / 1.388 GB, free: 4.316 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.8439, allocations: 1.662 MB / 1.39 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.844, allocations: 0 / 1.39 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.8459, allocations: 1.053 MB / 1.391 GB, free: 1.438 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.8463, allocations: 279.7 kB / 1.391 GB, free: 1.145 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.8464, allocations: 20 kB / 1.391 GB, free: 1.125 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.8471, allocations: 71.92 kB / 1.391 GB, free: 1.055 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.8473, allocations: 72.89 kB / 1.391 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.8474, allocations: 35.98 kB / 1.391 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005435/0.8479, allocations: 467 kB / 1.392 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8479, allocations: 0 / 1.392 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008158/0.8487, allocations: 327.3 kB / 1.392 GB, free: 180 kB / 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.001311/0.8501, allocations: 0.6173 MB / 1.393 GB, free: 15.73 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.8517, allocations: 0.8743 MB / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8517, allocations: 0 / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009296/0.8527, allocations: 0.5393 MB / 1.394 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.8539, allocations: 301.9 kB / 1.394 GB, free: 14.02 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.8566, allocations: 1.73 MB / 1.396 GB, free: 12.25 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.8571, allocations: 1.028 MB / 1.397 GB, free: 11.19 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.8574, allocations: 131.4 kB / 1.397 GB, free: 11.06 MB / 1.123 GB Notification: Performance of SimCode: time 3.9e-07/0.8574, allocations: 0 / 1.397 GB, free: 11.06 MB / 1.123 GB Notification: Performance of Templates: time 0.0212/0.8786, allocations: 19.09 MB / 1.416 GB, free: 8.027 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) 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) Reference file matches