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.001787/0.001787, allocations: 111.4 kB / 15.99 MB, free: 6.359 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.002166/0.002166, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.577/2.577, allocations: 469.4 MB / 0.7423 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001597, allocations: 67.58 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4098, allocations: 159.1 MB / 1.064 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.008079/0.418, allocations: 4.938 MB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.878/1.296, allocations: 148.4 MB / 1.213 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/1.297, allocations: 19.84 kB / 1.213 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000977/1.298, allocations: 151.5 kB / 1.214 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/1.301, allocations: 497 kB / 1.214 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/1.304, allocations: 0.7639 MB / 1.215 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002468/1.306, allocations: 1.427 MB / 1.216 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/1.308, allocations: 0.5886 MB / 1.217 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/1.309, allocations: 0.4926 MB / 1.217 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/1.31, allocations: 0.529 MB / 1.218 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004526/1.31, allocations: 118.5 kB / 1.218 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/1.312, allocations: 463.8 kB / 1.218 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/1.312, allocations: 307.6 kB / 1.219 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000998/1.313, allocations: 0.5789 MB / 1.219 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/1.315, allocations: 1.245 MB / 1.22 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.315, allocations: 0 / 1.22 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.974e-06/1.315, allocations: 1.094 kB / 1.22 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.086e-05/1.315, allocations: 0 / 1.22 GB, free: 7.234 MB / 0.9356 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.002963/1.318, allocations: 1.471 MB / 1.222 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.318, allocations: 7.719 kB / 1.222 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009242/1.319, allocations: 183.2 kB / 1.222 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/1.32, allocations: 0.7573 MB / 1.223 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/1.321, allocations: 65.53 kB / 1.223 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.321, allocations: 86.22 kB / 1.223 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/1.322, allocations: 0.9553 MB / 1.224 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.322, allocations: 0 / 1.224 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/1.322, allocations: 37.06 kB / 1.224 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/1.322, allocations: 21.84 kB / 1.224 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/1.324, allocations: 1.123 MB / 1.225 GB, free: 4.137 MB / 0.9356 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.00423/1.328, allocations: 2.751 MB / 1.228 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/1.33, allocations: 0.9264 MB / 1.229 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/1.331, allocations: 319.6 kB / 1.229 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.836e-05/1.331, allocations: 28.62 kB / 1.229 GB, free: 224 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009821/1.332, allocations: 0.512 MB / 1.229 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=85): time 3.417e-06/1.332, allocations: 4 kB / 1.229 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85): time 0.003327/1.335, allocations: 1.259 MB / 1.231 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.335, allocations: 188.9 kB / 1.231 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008209/1.336, allocations: 0.6449 MB / 1.232 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/1.336, allocations: 45.7 kB / 1.232 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/1.336, allocations: 400.2 kB / 1.232 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/1.337, allocations: 276.1 kB / 1.232 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/1.337, allocations: 174.4 kB / 1.232 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.337, allocations: 398.6 kB / 1.233 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/1.338, allocations: 277.8 kB / 1.233 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/1.338, allocations: 383.9 kB / 1.233 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.339, allocations: 0.6368 MB / 1.234 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.339, allocations: 0 / 1.234 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002008/1.341, allocations: 0.8839 MB / 1.235 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.341, allocations: 11.98 kB / 1.235 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.341, allocations: 128 / 1.235 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/1.342, allocations: 84.72 kB / 1.235 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/1.343, allocations: 171.8 kB / 1.235 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/1.345, allocations: 1.636 MB / 1.237 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/1.346, allocations: 99.28 kB / 1.237 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.346, allocations: 39.97 kB / 1.237 GB, free: 7.836 MB / 0.9512 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.0005704/1.347, allocations: 279.8 kB / 1.237 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/1.347, allocations: 86.88 kB / 1.237 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/1.35, allocations: 1.134 MB / 1.238 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/1.35, allocations: 11.94 kB / 1.238 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.35, allocations: 4 kB / 1.238 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.35, allocations: 3.984 kB / 1.238 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/1.353, allocations: 2.02 MB / 1.24 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/1.353, allocations: 4 kB / 1.24 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/1.354, allocations: 163.7 kB / 1.24 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/1.354, allocations: 68.78 kB / 1.241 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/1.354, allocations: 31.97 kB / 1.241 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/1.356, allocations: 1.662 MB / 1.242 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.356, allocations: 0 / 1.242 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/1.359, allocations: 1.051 MB / 1.243 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/1.359, allocations: 279.7 kB / 1.243 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/1.36, allocations: 19.94 kB / 1.243 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/1.36, allocations: 71.92 kB / 1.244 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.361, allocations: 80.55 kB / 1.244 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/1.361, allocations: 43.91 kB / 1.244 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006896/1.361, allocations: 463 kB / 1.244 GB, free: 132 kB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/1.361, allocations: 0 / 1.244 GB, free: 132 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001158/1.363, allocations: 331.2 kB / 1.244 GB, free: 15.8 MB / 0.9669 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.0016/1.364, allocations: 0.612 MB / 1.245 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002639/1.367, allocations: 1.082 MB / 1.246 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.367, allocations: 0 / 1.246 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.368, allocations: 0.5511 MB / 1.247 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.369, allocations: 310.8 kB / 1.247 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/1.373, allocations: 2.184 MB / 1.249 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/1.374, allocations: 1.037 MB / 1.25 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/1.374, allocations: 123.4 kB / 1.25 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of SimCode: time 1.022e-06/1.374, allocations: 0 / 1.25 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.02828/1.402, allocations: 18.97 MB / 1.269 GB, free: 7.109 MB / 0.9825 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