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.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.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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001109/0.001109, allocations: 195.5 kB / 16.14 MB, free: 6.719 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 65.16 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3324, allocations: 157.4 MB / 1.052 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00704/0.3395, allocations: 5.362 MB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.4961, allocations: 148.5 MB / 1.202 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.4973, allocations: 23.81 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.4982, allocations: 162.8 kB / 1.202 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.5004, allocations: 0.527 MB / 1.203 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.5027, allocations: 0.768 MB / 1.204 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.5046, allocations: 1.452 MB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.5058, allocations: 0.652 MB / 1.206 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009925/0.5068, allocations: 0.4941 MB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009491/0.5078, allocations: 0.556 MB / 1.207 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002857/0.5081, allocations: 68 kB / 1.207 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.5092, allocations: 427.7 kB / 1.207 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.5095, allocations: 274.9 kB / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007068/0.5102, allocations: 0.5866 MB / 1.208 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.5122, allocations: 1.752 MB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5122, allocations: 0 / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5122, allocations: 0 / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.5122, allocations: 0 / 1.21 GB, free: 6.723 MB / 0.9669 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.002979/0.5152, allocations: 1.573 MB / 1.211 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5152, allocations: 16.02 kB / 1.211 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009521/0.5162, allocations: 203.2 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.5173, allocations: 0.7973 MB / 1.212 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.5173, allocations: 78 kB / 1.212 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.5175, allocations: 92 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.5192, allocations: 1.075 MB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.5193, allocations: 0 / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.5194, allocations: 48 kB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.5194, allocations: 27.98 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.5214, allocations: 1.221 MB / 1.215 GB, free: 1.438 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.00474/0.5261, allocations: 3.172 MB / 1.218 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.5278, allocations: 0.8977 MB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.5284, allocations: 343.7 kB / 1.219 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.472e-05/0.5285, allocations: 37.02 kB / 1.219 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000971/0.5294, allocations: 0.5513 MB / 1.22 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=92): time 2.535e-06/0.5295, allocations: 0 / 1.22 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92): time 0.003604/0.5331, allocations: 1.345 MB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.5332, allocations: 192.9 kB / 1.221 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/0.5341, allocations: 0.688 MB / 1.222 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.5342, allocations: 45.64 kB / 1.222 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.5345, allocations: 444.3 kB / 1.222 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.5347, allocations: 295.7 kB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.535, allocations: 186.5 kB / 1.223 GB, free: 9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5352, allocations: 394.7 kB / 1.223 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.5358, allocations: 309.8 kB / 1.224 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.5365, allocations: 403.1 kB / 1.224 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.5378, allocations: 0.6906 MB / 1.225 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5378, allocations: 0 / 1.225 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002283/0.5401, allocations: 0.9619 MB / 1.225 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5401, allocations: 7.984 kB / 1.226 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5401, allocations: 4 kB / 1.226 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006615/0.5408, allocations: 80.84 kB / 1.226 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.5416, allocations: 187.7 kB / 1.226 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.5438, allocations: 1.516 MB / 1.227 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/0.5447, allocations: 112.5 kB / 1.227 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.5448, allocations: 44.03 kB / 1.227 GB, free: 4.133 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 (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,incAng.decAng.tNext,$PRE.incAng.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 (109): * Single equations (assignments): 108 * 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.000565/0.5454, allocations: 287.9 kB / 1.228 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.5456, allocations: 90.88 kB / 1.228 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/0.5484, allocations: 1.234 MB / 1.229 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5484, allocations: 12 kB / 1.229 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5484, allocations: 0 / 1.229 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5484, allocations: 7.969 kB / 1.229 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.5497, allocations: 1.001 MB / 1.23 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5497, allocations: 0 / 1.23 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007071/0.5504, allocations: 167.8 kB / 1.23 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005503/0.551, allocations: 84.72 kB / 1.23 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.551, allocations: 31.97 kB / 1.23 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.5529, allocations: 1.544 MB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5529, allocations: 4.062 kB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.5552, allocations: 1.045 MB / 1.233 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.5556, allocations: 295.6 kB / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.5558, allocations: 24.08 kB / 1.233 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/0.5565, allocations: 75.83 kB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.5567, allocations: 92.8 kB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.5568, allocations: 43.91 kB / 1.233 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000651/0.5575, allocations: 495 kB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5575, allocations: 0 / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009706/0.5585, allocations: 375.2 kB / 1.234 GB, free: 13.02 MB / 0.9981 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 (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.001418/0.5599, allocations: 0.6273 MB / 1.235 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.5618, allocations: 0.9328 MB / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5618, allocations: 4 kB / 1.236 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5628, allocations: 0.5666 MB / 1.236 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5641, allocations: 290.8 kB / 1.236 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.5675, allocations: 2.353 MB / 1.239 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.5681, allocations: 1.071 MB / 1.24 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009553/0.5691, allocations: 279.4 kB / 1.24 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.5694, allocations: 119.4 kB / 1.24 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.5694, allocations: 3.938 kB / 1.24 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of Templates: time 0.5031/1.073, allocations: 16.17 MB / 1.256 GB, free: 189.3 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