Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001752/0.001752, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 8.625 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3668, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006053/0.3729, allocations: 4.638 MB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1698/0.5427, allocations: 137 MB / 1.196 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.5439, allocations: 15.94 kB / 1.196 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.5446, allocations: 150.8 kB / 1.197 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.5467, allocations: 0.493 MB / 1.197 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.5488, allocations: 0.6742 MB / 1.198 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.5506, allocations: 1.35 MB / 1.199 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008781/0.5515, allocations: 0.5158 MB / 1.199 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.5522, allocations: 398.2 kB / 1.2 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.5528, allocations: 433.8 kB / 1.2 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.5529, allocations: 32 kB / 1.2 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/0.5538, allocations: 367.6 kB / 1.201 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.554, allocations: 203.1 kB / 1.201 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.5543, allocations: 229 kB / 1.201 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.5558, allocations: 1.325 MB / 1.202 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5558, allocations: 0 / 1.202 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5558, allocations: 4 kB / 1.202 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.868e-05/0.5558, allocations: 0 / 1.202 GB, free: 1.125 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002654/0.5585, allocations: 1.355 MB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5585, allocations: 8.031 kB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.5595, allocations: 214.2 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.5607, allocations: 0.7699 MB / 1.205 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.5608, allocations: 74.02 kB / 1.205 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5609, allocations: 96 kB / 1.205 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.5629, allocations: 1.067 MB / 1.206 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.5629, allocations: 0 / 1.206 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.563, allocations: 48 kB / 1.206 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.5631, allocations: 24 kB / 1.206 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.565, allocations: 1.221 MB / 1.207 GB, free: 12.09 MB / 0.9669 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.004689/0.5697, allocations: 3.221 MB / 1.21 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.5713, allocations: 0.8988 MB / 1.211 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.5719, allocations: 347.7 kB / 1.211 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.964e-05/0.572, allocations: 37.02 kB / 1.211 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009924/0.573, allocations: 0.5551 MB / 1.212 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=92): time 2.705e-06/0.5731, allocations: 0 / 1.212 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=92): time 0.003332/0.5764, allocations: 1.356 MB / 1.213 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5765, allocations: 192.9 kB / 1.214 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009971/0.5775, allocations: 0.6763 MB / 1.214 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.435e-05/0.5776, allocations: 41.7 kB / 1.214 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.578, allocations: 440.3 kB / 1.215 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.5783, allocations: 295.7 kB / 1.215 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.5783, allocations: 20 kB / 1.215 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5785, allocations: 402.7 kB / 1.215 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.5791, allocations: 301.8 kB / 1.216 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.5798, allocations: 411.1 kB / 1.216 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.5804, allocations: 346.9 kB / 1.216 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5804, allocations: 0 / 1.216 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002108/0.5826, allocations: 0.9542 MB / 1.217 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.5826, allocations: 12.02 kB / 1.217 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5826, allocations: 4 kB / 1.217 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.5832, allocations: 80.78 kB / 1.217 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.584, allocations: 191.6 kB / 1.218 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.5864, allocations: 1.528 MB / 1.219 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009834/0.5874, allocations: 119.2 kB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.5874, allocations: 35.97 kB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAng.decAng.tNext,incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006908/0.5881, allocations: 289.8 kB / 1.219 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.5883, allocations: 90.88 kB / 1.22 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.5915, allocations: 1.246 MB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.5916, allocations: 12 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5916, allocations: 0 / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5916, allocations: 3.984 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.5932, allocations: 1.009 MB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.5932, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.5939, allocations: 175.7 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/0.5945, allocations: 84.73 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.5946, allocations: 31.97 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.5969, allocations: 1.54 MB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5969, allocations: 0 / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.5992, allocations: 1.053 MB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/0.5998, allocations: 311.5 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.6, allocations: 24 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.6006, allocations: 91.92 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.6008, allocations: 84.81 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/0.6009, allocations: 39.97 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008996/0.6018, allocations: 499 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6018, allocations: 4 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001162/0.603, allocations: 379 kB / 1.226 GB, free: 8.086 MB / 0.9825 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.6046, allocations: 0.6186 MB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.6066, allocations: 0.9212 MB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6066, allocations: 0 / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6077, allocations: 0.5784 MB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.609, allocations: 282.5 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.6131, allocations: 2.31 MB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008749/0.614, allocations: 1.072 MB / 1.232 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001051/0.615, allocations: 279.4 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.6154, allocations: 123.3 kB / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of SimCode: time 6.91e-07/0.6154, allocations: 0 / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.03154/0.647, allocations: 15.61 MB / 1.247 GB, free: 2.613 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches